public class JmesPathLiteral extends Object implements JmesPathExpression
Constructor and Description |
---|
JmesPathLiteral(com.fasterxml.jackson.databind.JsonNode value) |
JmesPathLiteral(String value) |
Modifier and Type | Method and Description |
---|---|
<Input,Output> |
accept(JmesPathVisitor<Input,Output> visitor,
Input 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 <Input,Output> Output accept(JmesPathVisitor<Input,Output> 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
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.