Versions Compared

Key

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

...

Code Block
themeEclipse
titleXLS Protocol Handler
linenumberstrue
input = ACCESS({source='XLS', 
 wrapper='GenericPush',
 transport='File',
 protocol='XLS',
  dataHandler='Tuple',
 options=[['readfirstline'filename','/home/user/file.xls']],
 schema=[['symbol','trueString'],['delaypoints','100Double'] ],
})

output  schema=[
 SENDER({sink =  ['symbol','String'],
    ['points','Double'] ]
}'XLS',
 wrapper='GenericPush',
 transport='File',
 protocol='XLS',
 dataHandler='Tuple',
 options=[['filename','/home/user/file.xls']],
}, input)

CQL

Code Block
themeEclipse
languagesql
titleXLS Protocol Handler
linenumberstrue
CREATE STREAM xls (symbol String, points Double)   
    WRAPPER 'GenericPush'
    PROTOCOL 'XLS'
    TRANSPORT 'File'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'readfirstline' 'true', 'delay' '100')