Class FilterProjectionExpression
- java.lang.Object
- 
- software.amazon.smithy.jmespath.JmespathExpression
- 
- software.amazon.smithy.jmespath.ast.BinaryExpression
- 
- software.amazon.smithy.jmespath.ast.FilterProjectionExpression
 
 
 
- 
 public final class FilterProjectionExpression extends BinaryExpression A projection that filters values using a comparison.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 returnstrueto 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. - See Also:
- Filter Expressions
 
- 
- 
Constructor SummaryConstructors Constructor Description FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right)FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right, int line, int column)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(ExpressionVisitor<T> visitor)Visits a node using a double-dispatch visitor.booleanequals(java.lang.Object o)JmespathExpressiongetComparison()inthashCode()java.lang.StringtoString()- 
Methods inherited from class software.amazon.smithy.jmespath.ast.BinaryExpressiongetLeft, getRight
 
- 
 
- 
- 
- 
Constructor Detail- 
FilterProjectionExpressionpublic FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right) 
 - 
FilterProjectionExpressionpublic FilterProjectionExpression(JmespathExpression left, JmespathExpression comparison, JmespathExpression right, int line, int column) 
 
- 
 - 
Method Detail- 
getComparisonpublic JmespathExpression getComparison() 
 - 
acceptpublic <T> T accept(ExpressionVisitor<T> visitor) Description copied from class:JmespathExpressionVisits a node using a double-dispatch visitor.- Specified by:
- acceptin class- JmespathExpression
- Type Parameters:
- T- Type of value the visitor returns.
- Parameters:
- visitor- Visitor to accept on the node.
- Returns:
- Returns the result of applying the visitor.
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- BinaryExpression
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- BinaryExpression
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BinaryExpression
 
 
- 
 
-