Apama 10.15.0 | Developing Apama Applications | EPL Reference | Expressions | Expression operators
 
Expression operators
You can use the following operators wherever you can specify an expression. Note that they are all binary 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