Queries Construction and Query Results Usage

To implement queries, you put query text (SQL-like statements) as arguments to an appropriate function from the CEP Query function catalog and place the query functions in one or more rule functions. You can also use bind variables in many clauses to create prepared statements.

When you deploy an agent to query cache data, you can query concepts and simple events in the cache. You cannot query scorecards or time events because they do not exist in the cache. You cannot query the objects in the Rete network itself, or those in the backing store, just those in the cache.

When you deploy an agent to query an incoming event stream, you can query events.

Note: You can use arrays within expressions in a query, but returning arrays in the results of the query is not supported in this release.