Class RelationalOpExpression

java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.RelationalOpExpression
All Implemented Interfaces:
Expression, Serializable

public class RelationalOpExpression extends ExpressionBase
Comparison using one of the relational operators (=, !=, <, <=, >, >=, is, is not).
See Also:
  • Constructor Details

    • RelationalOpExpression

      public RelationalOpExpression()
      Ctor.
    • RelationalOpExpression

      public RelationalOpExpression(String operator)
      Ctor.
      Parameters:
      operator - is the relational operator.
    • RelationalOpExpression

      public RelationalOpExpression(Expression left, String operator, Expression right)
      Ctor.
      Parameters:
      left - provides a value to compare against
      operator - is the operator to use
      right - provides a value to compare against
  • Method Details

    • getOperator

      public String getOperator()
      Returns the operator to use.
      Returns:
      operator.
    • setOperator

      public void setOperator(String operator)
      Sets the operator to use.
      Parameters:
      operator - to use
    • getPrecedence

      public ExpressionPrecedenceEnum getPrecedence()
      Description copied from interface: Expression
      Returns precedence.
      Returns:
      precedence
    • toPrecedenceFreeEPL

      public void toPrecedenceFreeEPL(StringWriter writer)
      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 class ExpressionBase
      Parameters:
      writer - is the output to use