public class ExpressionLambdaAggregatorInputBindings extends Object implements Expr.ObjectBinding
Expr.ObjectBinding for use with ExpressionLambdaAggregatorFactory.
This value binding holds a value for a special 'accumulator' variable, in addition to the 'normal' bindings to the
underlying selector inputs for other identifiers, which allows for easy forward feeding of the results of an
expression evaluation to use in the bindings of the next evaluation.| Constructor and Description |
|---|
ExpressionLambdaAggregatorInputBindings(Expr.ObjectBinding inputBindings,
String accumulatorIdentifier,
ExprEval<?> initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(ExprEval<?> eval) |
Object |
get(String name) |
ExprEval<?> |
getAccumulator() |
void |
setAccumulator(ExprEval<?> acc) |
public ExpressionLambdaAggregatorInputBindings(Expr.ObjectBinding inputBindings, String accumulatorIdentifier, ExprEval<?> initialValue)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.