public abstract class AbstractSequenceAggregation extends java.lang.Object implements PathFunction
| Constructor and Description |
|---|
AbstractSequenceAggregation() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getIndexFromParameters(EvaluationContext ctx,
java.util.List<Parameter> parameters) |
java.lang.Object |
invoke(java.lang.String currentPath,
PathRef parent,
java.lang.Object model,
EvaluationContext ctx,
java.util.List<Parameter> parameters)
Invoke the function and output a JSON object (or scalar) value which will be the result of executing the path
|
protected abstract int |
targetIndex(EvaluationContext ctx,
java.util.List<Parameter> parameters) |
protected abstract int targetIndex(EvaluationContext ctx, java.util.List<Parameter> parameters)
public java.lang.Object invoke(java.lang.String currentPath,
PathRef parent,
java.lang.Object model,
EvaluationContext ctx,
java.util.List<Parameter> parameters)
PathFunctioninvoke in interface PathFunctioncurrentPath - The current path location inclusive of the function nameparent - The path location above the current functionmodel - The JSON model as input to this particular functionctx - Eval context, state bag used as the path is traversed, maintains the result of executingprotected int getIndexFromParameters(EvaluationContext ctx, java.util.List<Parameter> parameters)