Class BinaryExpression

java.lang.Object
org.apache.activemq.artemis.selector.filter.BinaryExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
ArithmeticExpression, ComparisonExpression

public abstract class BinaryExpression extends Object implements Expression
An expression which performs an operation on two expression values.
  • Field Details

  • Constructor Details

  • Method Details

    • getLeft

      public Expression getLeft()
    • getRight

      public Expression getRight()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getExpressionSymbol

      public abstract String getExpressionSymbol()
      Returns the symbol that represents this binary expression. For example, addition is represented by +.
      Returns:
      the symbol that represents this binary expression. For example, addition is represented by +
    • setRight

      public void setRight(Expression expression)
    • setLeft

      public void setLeft(Expression expression)