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)
Get value binding for string identifier of
IdentifierExpr |
ExprEval<?> |
getAccumulator() |
ExpressionType |
getType(String name)
Get the
ExpressionType from the backing store for a given identifier (this is likely a column, but
could be other things depending on the backing adapter) |
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)
Expr.ObjectBindingIdentifierExprget in interface Expr.ObjectBinding@Nullable public ExpressionType getType(String name)
Expr.InputBindingInspectorExpressionType from the backing store for a given identifier (this is likely a column, but
could be other things depending on the backing adapter)getType in interface Expr.InputBindingInspectorpublic void accumulate(ExprEval<?> eval)
public ExprEval<?> getAccumulator()
public void setAccumulator(ExprEval<?> acc)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.