JmesPathExpression
public class JmesPathLiteral extends Object implements JmesPathExpression
Constructor | Description |
---|---|
JmesPathLiteral(com.fasterxml.jackson.databind.JsonNode value) |
|
JmesPathLiteral(String value) |
Modifier and Type | Method | Description |
---|---|---|
<InputT,OutputT> |
accept(JmesPathVisitor<InputT,OutputT> visitor,
InputT input) |
Delegates to either the CodeGen visitor(JmesPathLiteral) or
Evaluation visitor(JmesPathLiteral) based on the type of JmesPath
visitor
|
com.fasterxml.jackson.databind.JsonNode |
getValue() |
public JmesPathLiteral(String value)
public JmesPathLiteral(com.fasterxml.jackson.databind.JsonNode value)
public com.fasterxml.jackson.databind.JsonNode getValue()
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
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.