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.
Types provides 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.
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.