Developing Apama Applications > Developing Apama Applications in EPL > Defining Queries
Defining Queries
A query is one of the basic units of EPL program execution.
Note: 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. For a comparison of queries and monitors, see Architectural comparison of queries and 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 following topics provide information and instructions for defining queries.
*Introduction to queries
*Format of query definitions
*Partitioning queries
*Defining query input
*Finding and acting on event patterns
*Implementing parameterized queries
*Restrictions in queries
*Best practices for defining queries
*Testing query execution
*Communication between monitors and queries
For reference information, see Queries.
See also: Using Query Designer and Deploying and Managing Queries.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.