Class ProjectionExpression
- java.lang.Object
- 
- software.amazon.smithy.jmespath.JmespathExpression
- 
- software.amazon.smithy.jmespath.ast.BinaryExpression
- 
- software.amazon.smithy.jmespath.ast.ProjectionExpression
 
 
 
- 
- Direct Known Subclasses:
- ObjectProjectionExpression
 
 public class ProjectionExpression extends BinaryExpression Iterates over each element in the array returned from the left expression, passes it to the right expression, and returns the aggregated results.This AST node is created when parsing expressions like [*],[], and[1:1].- See Also:
- Wildcard Expressions
 
- 
- 
Constructor SummaryConstructors Constructor Description ProjectionExpression(JmespathExpression left, JmespathExpression right)ProjectionExpression(JmespathExpression left, 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.- 
Methods inherited from class software.amazon.smithy.jmespath.ast.BinaryExpressionequals, getLeft, getRight, hashCode, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ProjectionExpressionpublic ProjectionExpression(JmespathExpression left, JmespathExpression right) 
 - 
ProjectionExpressionpublic ProjectionExpression(JmespathExpression left, JmespathExpression right, int line, int column) 
 
- 
 - 
Method Detail- 
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.
 
 
- 
 
-