The statements described using the complex event processing language contain the items in the table below. The SELECT statement is the core of rule descriptions. Use named windows if you want to cache event data in memory and use it for subsequent processing.
Category | Complex event processing statement type | Explanation |
---|---|---|
Event stream queries | SELECT statement | The complex event processing statement at the core of rule descriptions. It performs queries to event streams. |
Named window operations | CREATE WINDOW statement | Generates named windows for event data caching. |
ON SELECT statement | Performs queries to named windows when an event occurs. | |
ON UPDATE statement | Updates event data in named windows when an event occurs. | |
ON DELETE statement | Deletes events in named windows when an event occurs. | |
ON MERGE statement | Performs event addition, update, and deletion operations all at once for named windows when an event occurs. |
Point
By placing a semicolon (;) at the end of complex event processing statements, multiple complex event processing statements can be described in a complex event processing rule described in the rule definitions.