Package org.apache.druid.math.expr
Class ApplyFunction.CartesianMapLambdaBinding
java.lang.Object
org.apache.druid.math.expr.ApplyFunction.CartesianMapLambdaBinding
- All Implemented Interfaces:
ApplyFunction.IndexableMapLambdaObjectBinding,Expr.InputBindingInspector,Expr.ObjectBinding
- Enclosing interface:
ApplyFunction
public static class ApplyFunction.CartesianMapLambdaBinding
extends Object
implements ApplyFunction.IndexableMapLambdaObjectBinding
ApplyFunction.IndexableMapLambdaObjectBinding for a ApplyFunction.CartesianMapFunction. Lambda argument bindings stored as a
cartesian product in the form of a list of lists of objects, where the inner list is the in order list of values
for each LambdaExpr argument-
Method Summary
Modifier and TypeMethodDescriptionGet value binding for string identifier ofIdentifierExprintTotal number of bindings in this bindingGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)withIndex(int index) Update index positionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
Method Details
-
get
Description copied from interface:Expr.ObjectBindingGet value binding for string identifier ofIdentifierExpr- Specified by:
getin interfaceExpr.ObjectBinding
-
getLength
public int getLength()Description copied from interface:ApplyFunction.IndexableMapLambdaObjectBindingTotal number of bindings in this binding- Specified by:
getLengthin interfaceApplyFunction.IndexableMapLambdaObjectBinding
-
withIndex
Description copied from interface:ApplyFunction.IndexableMapLambdaObjectBindingUpdate index position- Specified by:
withIndexin interfaceApplyFunction.IndexableMapLambdaObjectBinding
-
getType
Description copied from interface:Expr.InputBindingInspectorGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)- Specified by:
getTypein interfaceExpr.InputBindingInspector
-