This documentation is for WSO2 Complex Event Processor 2.0.0. View documentation for the latest release.

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »


<define-stream> ::= define stream <stream-name>
<attribute-name> <type> {<attribute-name> <type>}

All streams that cannot be derived from queries must be defined before use.

Following example shows a sample stream definition;

Defining a stream called StockExchangeStream having three attributes, where symbol of type string, price of type int and volume of type float.

define stream StockExchangeStream (symbol string, price int, volume float );

 

  • No labels