JmesPathExpression
JmesPathContainsFunction
, JmesPathLengthFunction
public abstract class JmesPathFunction extends Object implements JmesPathExpression
Constructor | Description |
---|---|
JmesPathFunction(List<JmesPathExpression> expressions) |
Modifier and Type | Method | Description |
---|---|---|
<InputT,OutputT> |
accept(JmesPathVisitor<InputT,OutputT> visitor,
InputT input) |
Delegates to either the CodeGen visitor(JmesPathFunction) or
Evaluation visitor(JmesPathFunction) based on the type of JmesPath
visitor
|
abstract com.fasterxml.jackson.databind.JsonNode |
evaluate(List<com.fasterxml.jackson.databind.JsonNode> evaluatedArgs) |
Abstract method definition for evaluating the given list of
expressions as per the given type of function
|
List<JmesPathExpression> |
getExpressions() |
public JmesPathFunction(List<JmesPathExpression> expressions)
public List<JmesPathExpression> getExpressions()
public <InputT,OutputT> OutputT accept(JmesPathVisitor<InputT,OutputT> visitor, InputT input) throws InvalidTypeException
accept
in interface JmesPathExpression
InputT
- Input type for the visitor
CodeGen visitor: Void
Evaluation visitor: JsonNodeOutputT
- Output type for the visitor
CodeGen visitor: String
Evaluation visitor: JsonNodevisitor
- CodeGen visitor or Evaluation visitorinput
- Input expression that needs to be evaluatedInvalidTypeException
public abstract com.fasterxml.jackson.databind.JsonNode evaluate(List<com.fasterxml.jackson.databind.JsonNode> evaluatedArgs)
evaluatedArgs
- List of expressions to be evaluatedCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.