Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The MarkerByteBuffer reads a byte stream from the start to the end token and omit the content to the data handler

Options

  • start: The start token
  • end: The end token
  • byteorder: The byte order of the byte stream

Example

PQL

Code Block
themeEclipse
languagejavascript
titleMarkerByteBuffer Protocol Handler
linenumberstrue
input = ACCESS({source='Buffer', wrapper='GenericPush',
transport='File',protocol='MarkerByteBuffer',
  dataHandler='Tuple',options=[['start','0x1'],['end','0x2']],
  schema=[
    ['symbol','String'],
    ['points','Double'] ]
})

CQL

Code Block
themeEclipse
languagesql
titleMarkerByteBuffer Protocol Handler
linenumberstrue
CREATE STREAM buffer (symbol String, points Double)   
    WRAPPER 'GenericPush'
    PROTOCOL 'MarkerByteBuffer'
    TRANSPORT 'File'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'start' '0x1', 'end' '0x2' )