Using Query Designer
Apama Studio's Query Designer editor provides a graphical environment that business analysts can use to define and update Apama queries without the need to write source code. An Apama query monitors a very large number of real-world entities and processes events on a per-entity basis, for example, all events related to one credit card account.
Query Designer 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.
Apama provides several sample query applications, which you can find in the samples\queries directory of your Apama installation directory.
See also:
Defining Queries, which describes the EPL constructs for writing query code, and
Deploying and Managing Queries.