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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.