A query is one of the basic units of EPL program execution.
The other basic unit is a monitor. A monitor cannot contain a query. A query cannot contain a monitor. For information about writing monitors, see
Defining Monitors.
Apama queries are suitable for applications where the incoming events provide information updates about a very large set of real-world entities. Apama provides several sample query applications, which you can find in the samples\queries directory of your Apama installation directory.
The topics below provide information and instructions for defining queries.
For reference information, see
Queries.