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 Summary
Constructors Constructor Description BinaryExpression(JmespathExpression left, JmespathExpression right, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)JmespathExpressiongetLeft()Gets the left side of the expression.JmespathExpressiongetRight()Gets the right side of the expression.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
BinaryExpression
public BinaryExpression(JmespathExpression left, JmespathExpression right, int line, int column)
-
-
Method Detail
-
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(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-