Chapter 6 Query Language Components : Stream Clause

Stream Clause
The stream clause is used for continuous queries only. It is used within a from clause.
Use of Emit: New and Emit: Dead
The emit key word determines whether the query is evaluated when an entity enters the window (emit : new) or when an entity leaves the window (emit : dead).
The default value is emit : new.
See Time Window Examples for some example uses.
See Stream Policy for more details on how the window is defined.