public interface JmesPathExpression
Modifier and Type | Method and Description |
---|---|
<Input,Output> |
accept(JmesPathVisitor<Input,Output> visitor,
Input input)
Abstract method definition to delegate to either
the CodeGen visitor or Evaluation visitor based on
the type of JmesPath visitor
|
<Input,Output> Output accept(JmesPathVisitor<Input,Output> visitor, Input input) throws InvalidTypeException
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