Class RelationalOpExpression
java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.RelationalOpExpression
- All Implemented Interfaces:
Expression
,Serializable
Comparison using one of the relational operators (=, !=, <, <=, >, >=, is, is not).
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.RelationalOpExpression
(Expression left, String operator, Expression right) Ctor.RelationalOpExpression
(String operator) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the operator to use.Returns precedence.void
setOperator
(String operator) Sets the operator to use.void
toPrecedenceFreeEPL
(StringWriter writer) Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.Methods inherited from class com.espertech.esper.common.client.soda.ExpressionBase
addChild, getChildren, getTreeObjectName, renderAggregation, setChildren, setTreeObjectName, toEPL, toPrecedenceFreeEPL, toPrecedenceFreeEPL
-
Constructor Details
-
RelationalOpExpression
public RelationalOpExpression()Ctor. -
RelationalOpExpression
Ctor.- Parameters:
operator
- is the relational operator.
-
RelationalOpExpression
Ctor.- Parameters:
left
- provides a value to compare againstoperator
- is the operator to useright
- provides a value to compare against
-
-
Method Details
-
getOperator
Returns the operator to use.- Returns:
- operator.
-
setOperator
Sets the operator to use.- Parameters:
operator
- to use
-
getPrecedence
Description copied from interface:Expression
Returns precedence.- Returns:
- precedence
-
toPrecedenceFreeEPL
Description copied from class:ExpressionBase
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.- Specified by:
toPrecedenceFreeEPL
in classExpressionBase
- Parameters:
writer
- is the output to use
-