Developing Apama Applications > Developing Apama Applications in EPL > Defining Queries > Introduction to queries > Query terminology
Query terminology
The following table defines important query terms.
Term
Description
query
A self-contained processing unit. It partitions incoming events according to a key and then independently processes the events in each partition. Processing involves watching for an event pattern and then executing a block of procedural code when that pattern is found.
input
An event type that a query operates on. An input definition specifies an event type plus details that indicate how to partition incoming events and what state, or event history, is to be held.
key
A query key identifies one or more fields in the events being operated on. Each input definition must specify the same key.
partition
A partition contains a set of events that all have the same key value. One or more windows contain the events added to each partition.
window
For each input, a window contains the events that are current. The query operates on only current events.
latest event
The latest event is the event that was most recently added to a partition.
set of current events
The events that are in the window(s) of a partition.
pattern
Specification of the event or sequence of events or aggregation that you are interested in. A pattern can include conditions and operators.
match set
A match set is the set of events that matches the specified pattern. A match set always includes the latest event.
parameterization
A query definition that specifies parameters is a parameterized query. An instance of a parameterized query is referred to as a parameterization.
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.