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 aApplyFunction.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 eachLambdaExpr
argument
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String name)
Get value binding for string identifier ofIdentifierExpr
int
getLength()
Total number of bindings in this bindingExpressionType
getType(String name)
Get theExpressionType
from the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)ApplyFunction.CartesianMapLambdaBinding
withIndex(int index)
Update index position-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.math.expr.Expr.InputBindingInspector
areNumeric, areNumeric, areSameTypes, areSameTypes, areScalar, areScalar, canVectorize, canVectorize
-
-
-
-
Method Detail
-
get
@Nullable public Object get(String name)
Description copied from interface:Expr.ObjectBinding
Get value binding for string identifier ofIdentifierExpr
- Specified by:
get
in interfaceExpr.ObjectBinding
-
getLength
public int getLength()
Description copied from interface:ApplyFunction.IndexableMapLambdaObjectBinding
Total number of bindings in this binding- Specified by:
getLength
in interfaceApplyFunction.IndexableMapLambdaObjectBinding
-
withIndex
public ApplyFunction.CartesianMapLambdaBinding withIndex(int index)
Description copied from interface:ApplyFunction.IndexableMapLambdaObjectBinding
Update index position- Specified by:
withIndex
in interfaceApplyFunction.IndexableMapLambdaObjectBinding
-
getType
@Nullable public ExpressionType getType(String name)
Description copied from interface:Expr.InputBindingInspector
Get theExpressionType
from the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)- Specified by:
getType
in interfaceExpr.InputBindingInspector
-
-