public abstract class JmesPathFunction extends Object implements JmesPathExpression
Constructor and Description |
---|
JmesPathFunction(List<JmesPathExpression> expressions) |
Modifier and Type | Method and Description |
---|---|
|
accept(JmesPathVisitor visitor,
Input 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
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 Output accept(JmesPathVisitor visitor, Input input) throws InvalidTypeException
accept
in interface JmesPathExpression
Input
- Input type for the visitor
CodeGen visitor: Void
Evaluation visitor: JsonNodeOutput
- 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(ListevaluatedArgs)
evaluatedArgs
- List of expressions to be evaluated