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() |
ExpressionType |
getType(String name) |
void |
setAccumulator(ExprEval<?> acc) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorizepublic ExpressionLambdaAggregatorInputBindings(Expr.ObjectBinding inputBindings, String accumulatorIdentifier, ExprEval<?> initialValue)
@Nullable public Object get(String name)
get in interface Expr.ObjectBinding@Nullable public ExpressionType getType(String name)
getType in interface Expr.InputBindingInspectorpublic void accumulate(ExprEval<?> eval)
public ExprEval<?> getAccumulator()
public void setAccumulator(ExprEval<?> acc)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.