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 boolean
equals(java.lang.Object o)
JmespathExpression
getLeft()
Gets the left side of the expression.JmespathExpression
getRight()
Gets the right side of the expression.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-