Developing Apama Applications > Apama EPL Reference > Expressions > Relational operators
Relational operators
The relational operators are used to determine the equality, inequality, or relative values of their left and right operands.
CompareExp
The left and right operands must be expressions of the same type and the type must be allowed for that operator. You can use each relational operator on decimal, float, integer, and string types (see Primitive and string data types). On boolean types, you can use the = and != relational operators.
The result type of all six relational operators is boolean.
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.