Class MultiSelectListExpression
- java.lang.Object
-
- software.amazon.smithy.jmespath.JmespathExpression
-
- software.amazon.smithy.jmespath.ast.MultiSelectListExpression
-
public final class MultiSelectListExpression extends JmespathExpression
Selects one or more values into a created array.- See Also:
- MultiSelect List
-
-
Constructor Summary
Constructors Constructor Description MultiSelectListExpression(java.util.List<JmespathExpression> expressions)
MultiSelectListExpression(java.util.List<JmespathExpression> expressions, int line, int column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(ExpressionVisitor<T> visitor)
Visits a node using a double-dispatch visitor.boolean
equals(java.lang.Object o)
java.util.List<JmespathExpression>
getExpressions()
Gets the ordered list of expressions to add to the list.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MultiSelectListExpression
public MultiSelectListExpression(java.util.List<JmespathExpression> expressions)
-
MultiSelectListExpression
public MultiSelectListExpression(java.util.List<JmespathExpression> expressions, int line, int column)
-
-
Method Detail
-
accept
public <T> T accept(ExpressionVisitor<T> visitor)
Description copied from class:JmespathExpression
Visits a node using a double-dispatch visitor.- Specified by:
accept
in classJmespathExpression
- 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.
-
getExpressions
public java.util.List<JmespathExpression> getExpressions()
Gets the ordered list of expressions to add to the list.- Returns:
- Returns the expressions.
-
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
-
-