Package org.apache.druid.math.expr
Class ApplyFunction.LambdaInputBindingInspector
java.lang.Object
org.apache.druid.math.expr.ApplyFunction.LambdaInputBindingInspector
- All Implemented Interfaces:
Expr.InputBindingInspector
- Enclosing interface:
- ApplyFunction
public static class ApplyFunction.LambdaInputBindingInspector
extends Object
implements Expr.InputBindingInspector
Helper that can wrap another
Expr.InputBindingInspector to use to supply the type information of a
LambdaExpr when evaluating Expr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector). Lambda identifiers do not exist
in the underlying Expr.InputBindingInspector, but can be created by mapping the lambda identifiers to the
arguments that will be applied to them, to map the type information.-
Constructor Summary
ConstructorsConstructorDescriptionLambdaInputBindingInspector(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) -
Method Summary
Modifier and TypeMethodDescriptionGet theExpressionTypefrom the backing store for a given identifier (this is likely a column, but could be other things depending on the backing adapter)Methods 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
-
Constructor Details
-
LambdaInputBindingInspector
public LambdaInputBindingInspector(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args)
-
-
Method Details
-
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
-