Uses of Class
org.apache.druid.math.expr.LambdaExpr
Packages that use LambdaExpr
-
Uses of LambdaExpr in org.apache.druid.math.expr
Methods in org.apache.druid.math.expr with parameters of type LambdaExprModifier and TypeMethodDescriptionApplyFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.CartesianFoldFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.CartesianMapFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.FilterFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.FoldFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.MapFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) ApplyFunction.MatchFunction.apply(LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings) default <T> ExprVectorProcessor<T>ApplyFunction.asVectorProcessor(Expr.VectorInputBindingInspector inspector, LambdaExpr lambda, List<Expr> args) Builds a 'vectorized' function expression processor, that can build vectorized processors for its input values usingExpr.asVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector), for use in vectorized query engines.default booleanApplyFunction.canVectorize(Expr.InputBindingInspector inspector, LambdaExpr lambda, List<Expr> args) Check if an apply function can be 'vectorized', for a givenLambdaExprand set ofExprinputs.ApplyFunction.BaseFoldFunction.getOutputType(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) ApplyFunction.BaseMapFunction.getOutputType(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) ApplyFunction.FilterFunction.getOutputType(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) ApplyFunction.getOutputType(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) Compute the output type of this function for a given lambda and the argument expressions which will be applied as its inputs.ApplyFunction.MatchFunction.getOutputType(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) booleanApplyFunction.BaseFoldFunction.hasArrayOutput(LambdaExpr lambdaExpr) booleanApplyFunction.BaseMapFunction.hasArrayOutput(LambdaExpr lambdaExpr) booleanApplyFunction.FilterFunction.hasArrayOutput(LambdaExpr lambdaExpr) default booleanApplyFunction.hasArrayOutput(LambdaExpr lambdaExpr) Returns true if apply function produces an array output.ApplyFunction.AllMatchFunction.match(Object[] values, LambdaExpr expr, ApplyFunction.SettableLambdaBinding bindings) ApplyFunction.AnyMatchFunction.match(Object[] values, LambdaExpr expr, ApplyFunction.SettableLambdaBinding bindings) abstract ExprEvalApplyFunction.MatchFunction.match(Object[] values, LambdaExpr expr, ApplyFunction.SettableLambdaBinding bindings) voidApplyFunction.CartesianFoldFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.CartesianMapFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.FilterFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.FoldFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.MapFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.MatchFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) voidApplyFunction.validateArguments(LambdaExpr lambdaExpr, List<Expr> args) Validate function arguments.default voidNamedFunction.validationHelperCheckArgumentCount(LambdaExpr lambdaExpr, List<Expr> args, int count) Helper method for implementors performing validation to check that the argument list is some expected size.default voidNamedFunction.validationHelperCheckLambaArgumentCount(LambdaExpr lambdaExpr, List<Expr> args) Helper method for implementors performing validation to check that theidentifierCount()matches the number of arguments being passed to itdefault voidNamedFunction.validationHelperCheckMinArgumentCount(LambdaExpr lambdaExpr, List<Expr> args, int count) Helper method for implementors performing validation to check that the argument list is at least some expected size.Constructors in org.apache.druid.math.expr with parameters of type LambdaExprModifierConstructorDescriptionLambdaInputBindingInspector(Expr.InputBindingInspector inspector, LambdaExpr expr, List<Expr> args) -
Uses of LambdaExpr in org.apache.druid.math.expr.vector
Methods in org.apache.druid.math.expr.vector with parameters of type LambdaExprModifier and TypeMethodDescriptionstatic booleanFallbackVectorProcessor.canFallbackVectorize(LambdaExpr lambdaExpr, List<Expr> args, ExpressionType outputType, Expr.InputBindingInspector inspector) Returns whetherFallbackVectorProcessor.create(ApplyFunction, LambdaExpr, List, Expr.VectorInputBindingInspector)can be used to make a fallback vectorized processor for a function with the given output type and arguments.static <T> ExprVectorProcessor<T>FallbackVectorProcessor.create(ApplyFunction function, LambdaExpr lambdaExpr, List<Expr> args, Expr.VectorInputBindingInspector inspector) Create a processor for a non-vectorizableApplyFunction.