JmesPathExpressionpublic class JmesPathLengthFunction extends JmesPathFunction
| Constructor | Description |
|---|---|
JmesPathLengthFunction(List<JmesPathExpression> arguments) |
Constructs a new JmesPathContainsFunction with the given
list of arguments to be evaluated
|
JmesPathLengthFunction(JmesPathExpression... expressions) |
| Modifier and Type | Method | Description |
|---|---|---|
com.fasterxml.jackson.databind.JsonNode |
evaluate(List<com.fasterxml.jackson.databind.JsonNode> evaluatedArgs) |
Evaluates the length of the given argument.
|
accept, getExpressionspublic JmesPathLengthFunction(JmesPathExpression... expressions)
public JmesPathLengthFunction(List<JmesPathExpression> arguments)
arguments - List of argumentspublic com.fasterxml.jackson.databind.JsonNode evaluate(List<com.fasterxml.jackson.databind.JsonNode> evaluatedArgs) throws InvalidTypeException
evaluate in class JmesPathFunctionevaluatedArgs - List of expressions to be evaluated.
Can be a string, array or objectInvalidTypeExceptionCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.