public final class FilterProjectionExpression extends BinaryExpression
A filter projection executes the left AST expression, expects it to
return an array of values, passes each result of the left expression to
a ComparatorExpression
, and yields any value from the comparison
expression that returns true
to the right AST expression.
Note: while this expression does have a comparator expression, it is still considered a binary expression because it has a left hand side and a right hand side.
Constructor and Description |
---|
FilterProjectionExpression(JmespathExpression left,
JmespathExpression comparison,
JmespathExpression right) |
FilterProjectionExpression(JmespathExpression left,
JmespathExpression comparison,
JmespathExpression right,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(ExpressionVisitor<T> visitor)
Visits a node using a double-dispatch visitor.
|
boolean |
equals(java.lang.Object o) |
JmespathExpression |
getComparison() |
int |
hashCode() |
java.lang.String |
toString() |
getLeft, getRight
public FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right)
public FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right, int line, int column)
public JmespathExpression getComparison()
public <T> T accept(ExpressionVisitor<T> visitor)
JmespathExpression
accept
in class JmespathExpression
T
- Type of value the visitor returns.visitor
- Visitor to accept on the node.public boolean equals(java.lang.Object o)
equals
in class BinaryExpression
public int hashCode()
hashCode
in class BinaryExpression
public java.lang.String toString()
toString
in class BinaryExpression