Modifier and Type | Method and Description |
---|---|
EvaluationContext |
Path.evaluate(Object document,
Object rootDocument,
Configuration configuration)
Evaluates this path
|
EvaluationContext |
Path.evaluate(Object document,
Object rootDocument,
Configuration configuration,
boolean forUpdate)
Evaluates this path
|
Modifier and Type | Method and Description |
---|---|
static void |
Parameter.consume(Class expectedType,
EvaluationContext ctx,
Collection collection,
Object value)
Either consume the object as an array and add each element to the collection, or alternatively add each element
|
Object |
PassthruPathFunction.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters) |
Object |
PathFunction.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters)
Invoke the function and output a JSON object (or scalar) value which will be the result of executing the path
|
static <T> List<T> |
Parameter.toList(Class<T> type,
EvaluationContext ctx,
List<Parameter> parameters)
Translate the collection of parameters into a collection of values of type T.
|
Modifier and Type | Method and Description |
---|---|
Object |
Append.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters) |
Object |
KeySetFunction.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
AbstractAggregation.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
Concatenate.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters) |
Object |
Length.invoke(String currentPath,
PathRef parent,
Object model,
EvaluationContext ctx,
List<Parameter> parameters)
When we calculate the length of a path, what we're asking is given the node we land on how many children does it
have.
|
Modifier and Type | Class and Description |
---|---|
class |
EvaluationContextImpl |
Modifier and Type | Method and Description |
---|---|
EvaluationContext |
CompiledPath.evaluate(Object document,
Object rootDocument,
Configuration configuration) |
EvaluationContext |
CompiledPath.evaluate(Object document,
Object rootDocument,
Configuration configuration,
boolean forUpdate) |
Copyright © 2024. All rights reserved.