public static class ApplyFunction.CartesianFoldLambdaBinding extends Object implements ApplyFunction.IndexableFoldLambdaBinding
ApplyFunction.IndexableFoldLambdaBinding for a ApplyFunction.CartesianFoldFunction. Like ApplyFunction.CartesianMapLambdaBinding
but with additional information to track and provide binding values for an accumulator.| Modifier and Type | Method and Description |
|---|---|
ApplyFunction.CartesianFoldLambdaBinding |
accumulateWithIndex(int index,
Object acc)
Update the index and accumulator value
|
Object |
get(String name)
Get value binding for string identifier of
IdentifierExpr |
ExpressionType |
getAccumulatorType() |
int |
getLength()
Total number of bindings in this binding
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitareNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize@Nullable public Object get(String name)
Expr.ObjectBindingIdentifierExprget in interface Expr.ObjectBindingpublic ExpressionType getAccumulatorType()
getAccumulatorType in interface ApplyFunction.IndexableFoldLambdaBindingpublic int getLength()
ApplyFunction.IndexableFoldLambdaBindinggetLength in interface ApplyFunction.IndexableFoldLambdaBindingpublic ApplyFunction.CartesianFoldLambdaBinding accumulateWithIndex(int index, Object acc)
ApplyFunction.IndexableFoldLambdaBindingaccumulateWithIndex in interface ApplyFunction.IndexableFoldLambdaBinding@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.InputBindingInspectorCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.