Apama 10.3.1 | Apama Documentation | Developing Apama Applications | EPL Reference | Lexical Elements | Operators
 
Operators
Operators are symbols used in expressions and statements to perform a computation on or test a relation between data values or, in event expressions, to detect sequences and patterns of events. As you will see, the same symbol is sometimes used for different operations, depending on the context in which the operator is used. For example, the and operator is used both in logical expressions, and event sequencing and the * operator is used both for integer and floating point multiplication and to match any value in event templates.
Ordinary operators
The ordinary operators are used in primary and bitwise expressions. See Expressions to perform calculations and comparisons on variables, data values, and other constructs. The descriptions of the built-in types in the API Reference for EPL (ApamaDoc) provide information about the operators that you can use with values of each type.
The ordinary operators are grouped into the following subcategories:
*Arithmetic operators. See the corresponding topics in Expressions.
*Comparison operators. See Comparison operators.
*Logical operators. See the corresponding topics in Expressions.
Event operators
Event operators are special operators that are used in the on statement's event expression. An on statement defines an event listener. See Event expressions and Event expression operator precedence.
An on statement is not allowed in an Apama query.
Field operators
Field operators are used within event expressions to define conditions on individual fields in an event template. See Field operators.

Copyright © 2013-2019 | 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.