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, 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 © 2022. All rights reserved.