Uses of Interface
org.apache.druid.math.expr.Expr.ObjectBinding
-
Packages that use Expr.ObjectBinding Package Description org.apache.druid.math.expr org.apache.druid.query.aggregation org.apache.druid.query.expression org.apache.druid.segment.virtual -
-
Uses of Expr.ObjectBinding in org.apache.druid.math.expr
Subinterfaces of Expr.ObjectBinding in org.apache.druid.math.expr Modifier and Type Interface Description static interface
ApplyFunction.IndexableFoldLambdaBinding
Expr.ObjectBinding
which can be iterated by an integer index position forApplyFunction.BaseFoldFunction
.static interface
ApplyFunction.IndexableMapLambdaObjectBinding
Expr.ObjectBinding
which can be iterated by an integer index position forApplyFunction.BaseMapFunction
.Classes in org.apache.druid.math.expr that implement Expr.ObjectBinding Modifier and Type Class Description static class
ApplyFunction.CartesianFoldLambdaBinding
static class
ApplyFunction.CartesianMapLambdaBinding
static class
ApplyFunction.FoldLambdaBinding
static class
ApplyFunction.MapLambdaBinding
static class
ApplyFunction.SettableLambdaBinding
Simple, mutable,Expr.ObjectBinding
for aLambdaExpr
which provides aMap
for storing arbitrary values to use as values forIdentifierExpr
in the body of the lambda that are arguments to the lambdastatic class
InputBindings.BestEffortInputBindings
Expr.ObjectBinding
backed by a cache populated byExprEval.bestEffortOf(Object)
for when the input type information is totally unknown, for a single row worth of values.class
SettableObjectBinding
Simple map backed object bindingMethods in org.apache.druid.math.expr that return Expr.ObjectBinding Modifier and Type Method Description static Expr.ObjectBinding
InputBindings. forInputSupplier(String supplierName, ExpressionType type, com.google.common.base.Supplier<?> supplier)
Create aExpr.ObjectBinding
for a single input value of a known type provided by someSupplier
static Expr.ObjectBinding
InputBindings. forInputSupplier(ExpressionType type, com.google.common.base.Supplier<?> supplier)
Create aExpr.ObjectBinding
for a single input value of a known type provided by someSupplier
static Expr.ObjectBinding
InputBindings. forInputSuppliers(Map<String,InputBindings.InputSupplier<?>> bindings)
CreateExpr.ObjectBinding
backed by map ofSupplier
to provide values for identifiers to evaluateExpr
static Expr.ObjectBinding
InputBindings. forMap(Map<String,?> bindings)
Deprecated.static Expr.ObjectBinding
InputBindings. forMap(Map<String,?> bindings, Expr.InputBindingInspector inspector)
CreateExpr.ObjectBinding
backed byMap
to provide values for identifiers to evaluateExpr
Types are detected and values are coereced viaExprEval.bestEffortOf(Object)
because input types are currently unknown.static Expr.ObjectBinding
InputBindings. forRow(Row row)
Creates aExpr.ObjectBinding
backed by someRow
.static Expr.ObjectBinding
InputBindings. nilBindings()
EmptyExpr.ObjectBinding
that doesn't complain about attempts to access type or value for any input identifiers, both of which will be nulls.static Expr.ObjectBinding
InputBindings. validateConstant(Expr expr)
Empty binding that throw aUOE
if anything attempts to lookup an identifier type or valueMethods in org.apache.druid.math.expr with parameters of type Expr.ObjectBinding Modifier and Type Method Description ExprEval
ApplyFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.CartesianFoldFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.CartesianMapFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.FilterFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.FoldFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.MapFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
ApplyFunction.MatchFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)
ExprEval
Function. apply(List<Expr> args, Expr.ObjectBinding bindings)
Evaluate the function, given a list of arguments and a set of bindings to provide values forIdentifierExpr
.ExprEval
Function.ArrayConstructorFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ArrayLengthFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ArrayScalarFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ArraysFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ArraySliceFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ArrayToMultiValueStringFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.BivariateFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.CaseSearchedFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.CaseSimpleFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ConcatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ConditionFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsDistinctFromFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsFalseFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsNotDistinctFromFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsNotFalseFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsNotNullFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsNotTrueFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsNullFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.IsTrueFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.LowerFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.LpadFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.MultiValueStringToArrayFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.NvlFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ParseLong. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.Pi. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ReduceFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.ReplaceFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.Round. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.RpadFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.SizeFormatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.StringFormatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.StringToArrayFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.StrlenFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.StrposFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.SubMonthFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.SubstringFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.TimestampFromEpochFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.UnivariateFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Function.UpperFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)
ExprEval
Expr. eval(Expr.ObjectBinding bindings)
-
Uses of Expr.ObjectBinding in org.apache.druid.query.aggregation
Classes in org.apache.druid.query.aggregation that implement Expr.ObjectBinding Modifier and Type Class Description class
ExpressionLambdaAggregatorInputBindings
SpecialExpr.ObjectBinding
for use withExpressionLambdaAggregatorFactory
.Constructors in org.apache.druid.query.aggregation with parameters of type Expr.ObjectBinding Constructor Description ExpressionLambdaAggregatorInputBindings(Expr.ObjectBinding inputBindings, String accumulatorIdentifier, ExprEval<?> initialValue)
-
Uses of Expr.ObjectBinding in org.apache.druid.query.expression
Methods in org.apache.druid.query.expression with parameters of type Expr.ObjectBinding Modifier and Type Method Description ExprEval
TimestampFloorExprMacro.TimestampFloorDynamicExpr. eval(Expr.ObjectBinding bindings)
ExprEval
TimestampFloorExprMacro.TimestampFloorExpr. eval(Expr.ObjectBinding bindings)
-
Uses of Expr.ObjectBinding in org.apache.druid.segment.virtual
Classes in org.apache.druid.segment.virtual that implement Expr.ObjectBinding Modifier and Type Class Description class
SingleInputBindings
Methods in org.apache.druid.segment.virtual that return Expr.ObjectBinding Modifier and Type Method Description static Expr.ObjectBinding
ExpressionSelectors. createBindings(ColumnSelectorFactory columnSelectorFactory, ExpressionPlan plan)
CreateExpr.ObjectBinding
given aColumnSelectorFactory
andExpressionPlan
which provides the set of identifiers which need a binding (list of required columns), and context of whether or not they are used as array or scalar inputsConstructors in org.apache.druid.segment.virtual with parameters of type Expr.ObjectBinding Constructor Description ExpressionColumnValueSelector(Expr expression, Expr.ObjectBinding bindings, RowIdSupplier rowIdSupplier)
LruEvalCache(Expr expression, Expr.ObjectBinding bindings)
RowBasedExpressionColumnValueSelector(ExpressionPlan plan, Expr.ObjectBinding bindings, RowIdSupplier rowIdSupplier)
-