public class JmesPathLengthFunction extends JmesPathFunction
Constructor and Description |
---|
JmesPathLengthFunction(JmesPathExpression... expressions) |
JmesPathLengthFunction(List<JmesPathExpression> arguments)
Constructs a new JmesPathContainsFunction with the given
list of arguments to be evaluated
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
evaluate(List<com.fasterxml.jackson.databind.JsonNode> evaluatedArgs)
Evaluates the length of the given argument.
|
accept, getExpressions
public 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 JmesPathFunction
evaluatedArgs
- List of expressions to be evaluated.
Can be a string, array or objectInvalidTypeException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.