Apama 10.15.0 | Using Apama with Software AG Designer | Using Query Designer | Creating queries in Query Designer
 
Creating queries in Query Designer
 
Configuring a query
Adding query inputs
Adding query patterns
Adding query parameters
Adding query conditions
Adding query aggregates
Adding query actions
Specifying a time period in Query Designer
Editing source code in Query Designer
Errors in query definitions
Enabling diagnostic logging
As mentioned earlier, the Query Designer editor provides two views of a query definition:
*Design — Business analysts define and update query definitions in this view. The Design tab provides an event palette and a canvas for defining an event pattern of interest. Toolbars, tooltips, and dialogs make it easy to define the events of interest to the query as well as any required parameters, conditions for finding matches, aggregate calculations and actions to take when a match set is found.
*Source — Application developers can examine and update query definition source code in the EPL code editor available from the Source tab.
Query Designer keeps the two views synchronized. Any changes made in the Design view are reflected in the Source view and vice versa.
The following topics provide information and instructions for using Query Designer to create a query definition.