Informatiker & IT-Consultants
ca. 10 Mitarbeiter
Datenakquise-Servern
Verkehrs-Sensoren
Datenbanken
CREATE STREAM sensor_input (time STARTTIMESTAMP, sensor STRING, val INTEGER)
WRAPPER 'GenericPush'
PROTOCOL 'SizeByteBuffer'
TRANSPORT 'NonBlockingTcp'
DATAHANDLER 'Tuple'
OPTIONS ( 'port' '65440', 'host' 'stream.example.com', 'ByteOrder' 'Little_Endian')
CREATE SINK sensor_output (sensor STRING, val INTEGER)
WRAPPER 'GenericPush'
PROTOCOL 'XML'
TRANSPORT 'File'
DATAHANDLER 'Tuple'
OPTIONS ( 'filename' 'D:\output')
SELECT sensor, val
FROM sensor_input
WHERE val > 50