You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The JSON protocol handler parses JSON documents.

Options

none

Example

PQL

JSON Protocol Handler
input = ACCESS({source='JSON', wrapper='GenericPush',
transport='File',protocol='JSON',
  dataHandler='Tuple',options=[],
  schema=[
    ['symbol','String'],
    ['points','Double'] ]
})

CQL

JSON Protocol Handler
CREATE STREAM line (symbol String, points Double)   
    WRAPPER 'GenericPush'
    PROTOCOL 'JSON'
    TRANSPORT 'File'
    DATAHANDLER 'Tuple'
  • No labels