Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To access the different attribute values the KeyValueToTuple operator can be used to transform the required attributes into a relational tuple.

...

Code Block
languagejs
titleLMS1xx Protocol Handler
linenumberstrue
input = ACCESS({source='lms1', 
                wrapper='GenericPush',
                transport='TCPClient',
                protocol='LMS1xx',
                dataHandler='KeyValueObject',
                options=[['host','192.168.1.20'],['port','2111']],
  schema=[
    ['dist1','SpatialPolarCoordinate']
  ]
})

out = KEYVALUETOTUPLE({
          schema=[['DISTANCE16BIT', 'Matrix']],
          type='TupleScan',
          keepinput='false' 
        },
        input
      )