Excerpt | ||
---|---|---|
| ||
Siddhi Event Definitions in wiki format |
...
Following example shows a sample stream definition;
Defining a stream called StockExchangeStream having three attributes, where symbol of type string, price of type int float and volume of type floatint.
define stream StockExchangeStream (symbol string, price intfloat, volume float int );