Class BinaryExpression

java.lang.Object
software.amazon.smithy.jmespath.JmespathExpression
software.amazon.smithy.jmespath.ast.BinaryExpression
Direct Known Subclasses:
AndExpression, ComparatorExpression, FilterProjectionExpression, OrExpression, ProjectionExpression, Subexpression

public abstract class BinaryExpression extends JmespathExpression
Abstract class representing expressions that have a left and right side.
  • Constructor Details

  • Method Details

    • getLeft

      public final JmespathExpression getLeft()
      Gets the left side of the expression.
      Returns:
      Returns the expression on the left.
    • getRight

      public final JmespathExpression getRight()
      Gets the right side of the expression.
      Returns:
      Returns the expression on the right.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object