Developing Apama Applications > Apama EPL Reference > Lexical Elements > Operators > Expression operators
Expression operators
Another way to categorize the operators supported in EPL is as as expression operators and field operators. You can use the following operators wherever you can specify an expression. Note that they are all binary operators.
Expression operators
Operator
Operation
Description
+
Addition
Returns a decimal, float or an integer according to the operands, or concatenation in the case of string operands
-
Subtraction
Returns a decimal, float or an integer according to the operands
%
Modulus
Returns an integer and is a valid operator only for integers
/
Division
Returns a decimal, float or an integer according to the operands
*
Multiplication
Returns a decimal, float or an integer according to the operands
>
Greater than
Returns a boolean value indicating whether the condition expressed is true or false
<
Less than
Returns a boolean value indicating whether the condition expressed is true or false
>=
Greater than or equal to
Returns a boolean value indicating whether the condition expressed is true or false
<=
Less than or equal to
Returns a boolean value indicating whether the condition expressed is true or false
=
Equivalence
Returns a boolean value indicating whether the condition expressed is true or false
!=
Not equals
Returns a boolean value indicating whether the condition expressed is true or false
or
Logical or, Bitwise or
On boolean types, On integers
and
Logical and, Bitwise and
On boolean types, On integers
xor
Logical xor, Bitwise xor
On boolean types, On integers
not
Logical not
On boolean types
Copyright © 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.