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

Compare with Current View Page History

« Previous Version 2 Next »

The timer transport handler can be used as a periodic data source

Options

  • period: The period in milliseconds

Example

PQL

Example
input = ACCESS({source='Source',
wrapper='GenericPush',
transport='Timer',
protocol='None',
dataHandler='Tuple',
options=[['period', '1000']],
schema=[['time', 'Timestamp']]
})

CQL

Example
CREATE STREAM source (time Timestamp)
    WRAPPER 'GenericPush'
    PROTOCOL 'None'
    TRANSPORT 'Timer'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'period' '1000')
  • No labels