Uses of Interface
org.apache.druid.math.expr.Expr
-
-
Uses of Expr in org.apache.druid.math.expr
Subinterfaces of Expr in org.apache.druid.math.expr Modifier and Type Interface Description static interfaceExprMacroTable.ExprMacroFunctionExprstub interface to allowParser.flatten(Expr)a way to recognize macro functions that exend thisClasses in org.apache.druid.math.expr that implement Expr Modifier and Type Class Description static classExprMacroTable.BaseMacroFunctionExprBase class forExprfromExprMacroTable.ExprMacro.static classExprMacroTable.BaseScalarMacroFunctionExprBase class forExprfromExprMacroTable.ExprMacrothat accepts all-scalar arguments.Fields in org.apache.druid.math.expr with type parameters of type Expr Modifier and Type Field Description protected List<Expr>ExprMacroTable.BaseMacroFunctionExpr. argsMethods in org.apache.druid.math.expr that return Expr Modifier and Type Method Description ExprBuiltInExprMacros.ComplexDecodeBase64ExprMacro. apply(List<Expr> args)ExprBuiltInExprMacros.StringDecodeBase64UTFExprMacro. apply(List<Expr> args)ExprExprMacroTable.ExprMacro. apply(List<Expr> args)static ExprParser. applyUnappliedBindings(Expr expr, Expr.BindingAnalysis bindingAnalysis, List<String> bindingsToApply)default ExprExpr. asSingleThreaded(Expr.InputBindingInspector inspector)static ExprParser. flatten(Expr expr)static ExprParser. foldUnappliedBindings(Expr expr, Expr.BindingAnalysis bindingAnalysis, List<String> bindingsToApply, String accumulatorId)ExprExprMacroTable. get(String functionName, List<Expr> args)Returns an expr corresponding to a function call if this table has an entry forfunctionName.static ExprParser. parse(String in, ExprMacroTable macroTable)Parse a string into a flattenedExpr.static ExprParser. parse(String in, ExprMacroTable macroTable, boolean withFlatten)static ExprExpr. singleThreaded(Expr expr, Expr.InputBindingInspector inspector)Returns the single-threaded version of the given expression tree.abstract ExprExprEval. toExpr()ExprExpr.Shuttle. visit(Expr expr)Provide theExpr.Shuttlewith anExprto inspect and potentially rewrite.ExprExpr. visit(Expr.Shuttle shuttle)Programatically rewrite theExprtree with aExpr.Shuttle.ExprExprMacroTable.BaseMacroFunctionExpr. visit(Expr.Shuttle shuttle)Methods in org.apache.druid.math.expr that return types with arguments of type Expr Modifier and Type Method Description static List<Expr>Exprs. decomposeAnd(Expr expr)Decomposes any expr into a list of exprs that, if ANDed together, are equivalent to the input expr.List<Expr>ExprMacroTable.BaseMacroFunctionExpr. getArgs()List<Expr>ExprMacroTable.ExprMacroFunctionExpr. getArgs()Set<Expr>ApplyFunction.CartesianFoldFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.CartesianMapFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.FilterFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.FoldFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction. getArrayInputs(List<Expr> args)Get list of input arguments which must evaluate to an arrayExprTypeSet<Expr>ApplyFunction.MapFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.MatchFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayConstructorFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayContainsFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayLengthFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayOverlapFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayScalarFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraysFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraySliceFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraysMergeFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayToMultiValueStringFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.CastFunc. getArrayInputs(List<Expr> args)default Set<Expr>Function. getArrayInputs(List<Expr> args)Given a list of arguments to thisFunction, get the set of arguments that must evaluate to an array valueSet<Expr>Function.MultiValueStringHarmonizeNullsFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.MultiValueStringToArrayFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayConstructorFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayContainsFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayLengthFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayOverlapFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayScalarFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArraysFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArraySliceFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayToMultiValueStringFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.CastFunc. getScalarInputs(List<Expr> args)default Set<Expr>Function. getScalarInputs(List<Expr> args)Given a list of arguments to thisFunction, get the set of arguments that must evaluate to a scalar valueSet<Expr>Function.MultiValueStringHarmonizeNullsFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.MultiValueStringToArrayFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.StringToArrayFunction. getScalarInputs(List<Expr> args)static com.google.common.base.Supplier<Expr>Parser. lazyParse(String in, ExprMacroTable macroTable)Create a memoized lazy supplier to parse a string into a flattenedExpr.default List<Expr>Expr.Shuttle. visitAll(List<Expr> exprs)Methods in org.apache.druid.math.expr with parameters of type Expr Modifier and Type Method Description static ExprParser. applyUnappliedBindings(Expr expr, Expr.BindingAnalysis bindingAnalysis, List<String> bindingsToApply)default booleanExpr.InputBindingInspector. areNumeric(Expr... args)Check if all providedExprcan infer the output type asTypeSignature.isNumeric()with a value of true (or null, which is not a type) There must be at least one expression with a computable numeric output type for this method to return true.default booleanExpr.InputBindingInspector. areSameTypes(Expr... args)Check if all arguments are the same type (or null, which is not a type) This method should only be used ifExpr.InputBindingInspector.getType(java.lang.String)produces accurate information for all bindings (no null value for type unless the input binding does not exist and so the input is always null)default booleanExpr.InputBindingInspector. areScalar(Expr... args)Check if all providedExprcan infer the output type asTypeSignature.isPrimitive()(non-array) with a value of true (or null, which is not a type) There must be at least one expression with a computable scalar output type for this method to return true.default <T> ExprVectorProcessor<T>ApplyFunction. asVectorProcessor(Expr.VectorInputBindingInspector inspector, Expr lambda, List<Expr> args)Builds a 'vectorized' function expression processor, that can build vectorized processors for its input values usingasVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector), for use in vectorized query engines.static UnsupportedOperationExceptionExprs. cannotVectorize(Expr expr)default booleanApplyFunction. canVectorize(Expr.InputBindingInspector inspector, Expr lambda, List<Expr> args)Check if an apply function can be 'vectorized', for a givenLambdaExprand set ofExprinputs.default booleanExpr.InputBindingInspector. canVectorize(Expr... args)Check if every providedExprcomputescanVectorize(InputBindingInspector)to a value of truestatic List<Expr>Exprs. decomposeAnd(Expr expr)Decomposes any expr into a list of exprs that, if ANDed together, are equivalent to the input expr.static Optional<Equality>Exprs. decomposeEquals(Expr expr, String rightPrefix)Decomposes an equality expr into anEquality.static ExprParser. flatten(Expr expr)static ExprParser. foldUnappliedBindings(Expr expr, Expr.BindingAnalysis bindingAnalysis, List<String> bindingsToApply, String accumulatorId)static booleanEvals. isAllConstants(Expr... exprs)static ExprExpr. singleThreaded(Expr expr, Expr.InputBindingInspector inspector)Returns the single-threaded version of the given expression tree.static Expr.ObjectBindingInputBindings. validateConstant(Expr expr)Empty binding that throw aUOEif anything attempts to lookup an identifier type or valuestatic voidParser. validateExpr(Expr expression, Expr.BindingAnalysis bindingAnalysis)Validate that an expression uses input bindings in a type consistent manner.default voidNamedFunction. validationHelperCheckArgIsLiteral(Expr arg, String argName)Helper method for implementors performing validation to check that an argument is a literalExprExpr.Shuttle. visit(Expr expr)Provide theExpr.Shuttlewith anExprto inspect and potentially rewrite.Expr.BindingAnalysisExpr.BindingAnalysis. with(Expr other)Combine withExpr.BindingAnalysisfromanalyzeInputs()Method parameters in org.apache.druid.math.expr with type arguments of type Expr Modifier and Type Method Description static Expr.BindingAnalysisExprs. analyzeBindings(List<Expr> args)Return aExpr.BindingAnalysisthat represents an analysis of all provided args.ExprEvalApplyFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.CartesianFoldFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.CartesianMapFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.FilterFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.FoldFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.MapFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprEvalApplyFunction.MatchFunction. apply(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> argsExpr, Expr.ObjectBinding bindings)ExprBuiltInExprMacros.ComplexDecodeBase64ExprMacro. apply(List<Expr> args)ExprBuiltInExprMacros.StringDecodeBase64UTFExprMacro. apply(List<Expr> args)ExprExprMacroTable.ExprMacro. apply(List<Expr> args)ExprEvalFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)Evaluate the function, given a list of arguments and a set of bindings to provide values forIdentifierExpr.ExprEvalFunction.ArrayConstructorFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArrayContainsFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArrayLengthFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArrayOverlapFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArrayScalarFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArraysFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArraySliceFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ArrayToMultiValueStringFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.BivariateFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.CaseSearchedFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.CaseSimpleFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.CoalesceFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ConcatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ConditionFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsDistinctFromFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsFalseFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsNotDistinctFromFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsNotFalseFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsNotNullFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsNotTrueFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsNullFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.IsTrueFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.LowerFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.LpadFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.MultiValueStringHarmonizeNullsFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.MultiValueStringToArrayFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ParseLong. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.Pi. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ReduceFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.ReplaceFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.Round. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.RpadFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.SizeFormatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.StringFormatFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.StringToArrayFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.StrlenFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.StrposFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.SubMonthFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.SubstringFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.TimestampFromEpochFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.UnivariateFunction. apply(List<Expr> args, Expr.ObjectBinding bindings)ExprEvalFunction.UpperFunc. apply(List<Expr> args, Expr.ObjectBinding bindings)default booleanExpr.InputBindingInspector. areNumeric(List<Expr> args)Check if all providedExprcan infer the output type asTypeSignature.isNumeric()with a value of true (or null, which is not a type) There must be at least one expression with a computable numeric output type for this method to return true.default booleanExpr.InputBindingInspector. areSameTypes(List<Expr> args)Check if all arguments are the same type (or null, which is not a type) This method should only be used ifExpr.InputBindingInspector.getType(java.lang.String)produces accurate information for all bindings (no null value for type unless the input binding does not exist and so the input is always null)default booleanExpr.InputBindingInspector. areScalar(List<Expr> args)Check if all providedExprcan infer the output type asTypeSignature.isPrimitive()(non-array) with a value of true (or null, which is not a type) There must be at least one expression with a computable scalar output type for this method to return true.FunctionFunction.ArrayContainsFunction. asSingleThreaded(List<Expr> args, Expr.InputBindingInspector inspector)FunctionFunction.ArrayOverlapFunction. asSingleThreaded(List<Expr> args, Expr.InputBindingInspector inspector)default FunctionFunction. asSingleThreaded(List<Expr> args, Expr.InputBindingInspector inspector)FunctionFunction.ScalarInArrayFunction. asSingleThreaded(List<Expr> args, Expr.InputBindingInspector inspector)default <T> ExprVectorProcessor<T>ApplyFunction. asVectorProcessor(Expr.VectorInputBindingInspector inspector, Expr lambda, List<Expr> args)Builds a 'vectorized' function expression processor, that can build vectorized processors for its input values usingasVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector), for use in vectorized query engines.<T> ExprVectorProcessor<T>Function.Abs. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Acos. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Asin. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)default <T> ExprVectorProcessor<T>Function. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)Builds a 'vectorized' function expression processor, that can build vectorized processors for its input values usingasVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector), for use in vectorized query engines.<T> ExprVectorProcessor<T>Function.Atan. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Atan2. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseAnd. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseComplement. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseConvertDoubleToLongBits. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseConvertLongBitsToDouble. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseOr. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseShiftLeft. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseShiftRight. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.BitwiseXor. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.CastFunc. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Cbrt. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Ceil. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.CoalesceFunc. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.ConcatFunc. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.CopySign. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Cos. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Cosh. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Cot. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Div. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Exp. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Expm1. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Floor. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.GetExponent. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Hypot. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.IsNotNullFunc. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.IsNullFunc. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Log. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Log10. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Log1p. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Max. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Min. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.NextAfter. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.NextUp. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.ParseLong. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Pi. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Pow. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Remainder. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Rint. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Scalb. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Signum. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Sin. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Sinh. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Sqrt. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Tan. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Tanh. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.ToDegrees. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.ToRadians. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)<T> ExprVectorProcessor<T>Function.Ulp. asVectorProcessor(Expr.VectorInputBindingInspector inspector, List<Expr> args)default booleanApplyFunction. canVectorize(Expr.InputBindingInspector inspector, Expr lambda, List<Expr> args)Check if an apply function can be 'vectorized', for a givenLambdaExprand set ofExprinputs.default booleanExpr.InputBindingInspector. canVectorize(List<Expr> args)Check if every providedExprcomputescanVectorize(InputBindingInspector)to a value of truebooleanFunction.BivariateBitwiseMathFunction. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.BivariateMathFunction. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)default booleanFunction. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)Check if a function can be 'vectorized', for a given set ofExprinputs.booleanFunction.CastFunc. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.CoalesceFunc. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.ConcatFunc. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.IsNotNullFunc. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.IsNullFunc. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.ParseLong. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.Pi. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.SafeDivide. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.Scalb. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)booleanFunction.UnivariateMathFunction. canVectorize(Expr.InputBindingInspector inspector, List<Expr> args)static ExpressionTypeExpressionTypeConversion. conditional(Expr.InputBindingInspector inspector, List<Expr> args)Infer the output type of a list of possible 'conditional' expression outputs (where any of these could be the output expression if the corresponding case matching expression evaluates to true)ExprExprMacroTable. get(String functionName, List<Expr> args)Returns an expr corresponding to a function call if this table has an entry forfunctionName.Set<Expr>ApplyFunction.CartesianFoldFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.CartesianMapFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.FilterFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.FoldFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction. getArrayInputs(List<Expr> args)Get list of input arguments which must evaluate to an arrayExprTypeSet<Expr>ApplyFunction.MapFunction. getArrayInputs(List<Expr> args)Set<Expr>ApplyFunction.MatchFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayConstructorFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayContainsFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayLengthFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayOverlapFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayScalarFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraysFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraySliceFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArraysMergeFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.ArrayToMultiValueStringFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.CastFunc. getArrayInputs(List<Expr> args)default Set<Expr>Function. getArrayInputs(List<Expr> args)Given a list of arguments to thisFunction, get the set of arguments that must evaluate to an array valueSet<Expr>Function.MultiValueStringHarmonizeNullsFunction. getArrayInputs(List<Expr> args)Set<Expr>Function.MultiValueStringToArrayFunction. getArrayInputs(List<Expr> args)ExpressionTypeApplyFunction.BaseFoldFunction. getOutputType(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.LambdaExpr expr, List<Expr> args)ExpressionTypeApplyFunction.BaseMapFunction. getOutputType(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.LambdaExpr expr, List<Expr> args)ExpressionTypeApplyFunction.FilterFunction. getOutputType(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.LambdaExpr expr, List<Expr> args)ExpressionTypeApplyFunction. getOutputType(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.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.ExpressionTypeApplyFunction.MatchFunction. getOutputType(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.LambdaExpr expr, List<Expr> args)ExpressionTypeFunction.ArrayAddElementFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayConstructorFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayContainsFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayLengthFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayOffsetFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayOffsetOfFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayOrdinalFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayOrdinalOfFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayOverlapFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArraySliceFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArraysMergeFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayToMultiValueStringFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ArrayToStringFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.BitwiseComplement. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.BitwiseConvertDoubleToLongBits. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.BitwiseConvertLongBitsToDouble. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.BivariateBitwiseMathFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.BivariateMathFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.CaseSearchedFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.CaseSimpleFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.CastFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.CoalesceFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ConcatFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ConditionFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.Div. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.DoubleBivariateMathFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.DoubleUnivariateMathFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.GetExponent. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)Compute the output type of this function for a given set of argument expression inputs.ExpressionTypeFunction.IsDistinctFromFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsFalseFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsNotDistinctFromFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsNotFalseFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsNotNullFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsNotTrueFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsNullFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.IsTrueFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.LeftFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.LowerFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.LpadFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.MultiValueStringHarmonizeNullsFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.MultiValueStringToArrayFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ParseLong. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.Pi. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ReduceFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.RepeatFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ReplaceFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ReverseFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.RightFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.Round. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.RpadFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.SafeDivide. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.ScalarInArrayFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.Scalb. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.SizeFormatFunc. getOutputType(Expr.InputBindingInspector inputTypes, List<Expr> args)ExpressionTypeFunction.StringFormatFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.StringToArrayFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.StrlenFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.StrposFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.SubMonthFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.SubstringFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.TimestampFromEpochFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.UnivariateMathFunction. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)ExpressionTypeFunction.UpperFunc. getOutputType(Expr.InputBindingInspector inspector, List<Expr> args)Set<Expr>Function.ArrayConstructorFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayContainsFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayLengthFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayOverlapFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayScalarFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArraysFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArraySliceFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.ArrayToMultiValueStringFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.CastFunc. getScalarInputs(List<Expr> args)default Set<Expr>Function. getScalarInputs(List<Expr> args)Given a list of arguments to thisFunction, get the set of arguments that must evaluate to a scalar valueSet<Expr>Function.MultiValueStringHarmonizeNullsFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.MultiValueStringToArrayFunction. getScalarInputs(List<Expr> args)Set<Expr>Function.StringToArrayFunction. getScalarInputs(List<Expr> args)static booleanEvals. isAllConstants(List<Expr> exprs)voidApplyFunction.CartesianFoldFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction.CartesianMapFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction.FilterFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction.FoldFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction.MapFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction.MatchFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)voidApplyFunction. validateArguments(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)Validate function arguments.voidFunction.ArrayConstructorFunction. validateArguments(List<Expr> args)voidFunction.ArrayContainsFunction. validateArguments(List<Expr> args)voidFunction.ArrayLengthFunction. validateArguments(List<Expr> args)voidFunction.ArrayOverlapFunction. validateArguments(List<Expr> args)voidFunction.ArrayScalarFunction. validateArguments(List<Expr> args)voidFunction.ArraysFunction. validateArguments(List<Expr> args)voidFunction.ArraySliceFunction. validateArguments(List<Expr> args)voidFunction.ArrayToMultiValueStringFunction. validateArguments(List<Expr> args)voidFunction.BivariateFunction. validateArguments(List<Expr> args)voidFunction.CaseSearchedFunc. validateArguments(List<Expr> args)voidFunction.CaseSimpleFunc. validateArguments(List<Expr> args)voidFunction.CoalesceFunc. validateArguments(List<Expr> args)voidFunction.ConcatFunc. validateArguments(List<Expr> args)voidFunction.ConditionFunc. validateArguments(List<Expr> args)voidFunction.IsDistinctFromFunc. validateArguments(List<Expr> args)voidFunction.IsFalseFunc. validateArguments(List<Expr> args)voidFunction.IsNotDistinctFromFunc. validateArguments(List<Expr> args)voidFunction.IsNotFalseFunc. validateArguments(List<Expr> args)voidFunction.IsNotNullFunc. validateArguments(List<Expr> args)voidFunction.IsNotTrueFunc. validateArguments(List<Expr> args)voidFunction.IsNullFunc. validateArguments(List<Expr> args)voidFunction.IsTrueFunc. validateArguments(List<Expr> args)voidFunction.LowerFunc. validateArguments(List<Expr> args)voidFunction.LpadFunc. validateArguments(List<Expr> args)voidFunction.MultiValueStringHarmonizeNullsFunction. validateArguments(List<Expr> args)voidFunction.MultiValueStringToArrayFunction. validateArguments(List<Expr> args)voidFunction.NvlFunc. validateArguments(List<Expr> args)voidFunction.ParseLong. validateArguments(List<Expr> args)voidFunction.Pi. validateArguments(List<Expr> args)voidFunction.ReduceFunction. validateArguments(List<Expr> args)voidFunction.ReplaceFunc. validateArguments(List<Expr> args)voidFunction.Round. validateArguments(List<Expr> args)voidFunction.RpadFunc. validateArguments(List<Expr> args)voidFunction.SizeFormatFunc. validateArguments(List<Expr> args)voidFunction.StringFormatFunc. validateArguments(List<Expr> args)voidFunction.StringToArrayFunction. validateArguments(List<Expr> args)voidFunction.StrlenFunc. validateArguments(List<Expr> args)voidFunction.StrposFunc. validateArguments(List<Expr> args)voidFunction.SubMonthFunc. validateArguments(List<Expr> args)voidFunction.SubstringFunc. validateArguments(List<Expr> args)voidFunction.TimestampFromEpochFunc. validateArguments(List<Expr> args)voidFunction.UnivariateFunction. validateArguments(List<Expr> args)voidFunction.UpperFunc. validateArguments(List<Expr> args)voidFunction. validateArguments(List<Expr> args)Validate function arguments.default voidNamedFunction. validationHelperCheckAnyOfArgumentCount(List<Expr> args, int... counts)Helper method for implementors performing validation to check if argument count is any of specified countsdefault voidNamedFunction. validationHelperCheckArgumentCount(List<Expr> args, int count)Helper method for implementors performing validation to check if the argument count is expecteddefault voidNamedFunction. validationHelperCheckArgumentCount(org.apache.druid.math.expr.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. validationHelperCheckArgumentRange(List<Expr> args, int start, int end)default voidNamedFunction. validationHelperCheckLambaArgumentCount(org.apache.druid.math.expr.LambdaExpr lambdaExpr, List<Expr> args)Helper method for implementors performing validation to check that theLambdaExpr.identifierCount()matches the number of arguments being passed to itdefault voidNamedFunction. validationHelperCheckMinArgumentCount(List<Expr> args, int count)Helper method for implementors performing validation to check if there are at least as many arguments as specifieddefault voidNamedFunction. validationHelperCheckMinArgumentCount(org.apache.druid.math.expr.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.default List<Expr>Expr.Shuttle. visitAll(List<Expr> exprs)Expr.BindingAnalysisExpr.BindingAnalysis. withArrayArguments(Set<Expr> arrayArguments)Add set of arguments asExpr.BindingAnalysis.arrayVariablesthat are *directly*IdentifierExpr, else they are ignored.Expr.BindingAnalysisExpr.BindingAnalysis. withScalarArguments(Set<Expr> scalarArguments)Add set of arguments asExpr.BindingAnalysis.scalarVariablesthat are *directly*IdentifierExpr, else they are ignored.Constructors in org.apache.druid.math.expr with parameters of type Expr Constructor Description ExpressionPredicateIndexSupplier(Expr expr, String inputColumn, ExpressionType inputType, ColumnType outputType, DictionaryEncodedValueIndex<?> inputColumnValueIndexes)Constructor parameters in org.apache.druid.math.expr with type arguments of type Expr Constructor Description BaseMacroFunctionExpr(ExprMacroTable.ExprMacro macro, List<Expr> macroArgs)Constructor for subclasses.BaseScalarMacroFunctionExpr(ExprMacroTable.ExprMacro macro, List<Expr> macroArgs)LambdaInputBindingInspector(Expr.InputBindingInspector inspector, org.apache.druid.math.expr.LambdaExpr expr, List<Expr> args) -
Uses of Expr in org.apache.druid.math.expr.vector
Methods in org.apache.druid.math.expr.vector with parameters of type Expr Modifier and Type Method Description static <T> ExprVectorProcessor<T>VectorMathProcessors. abs(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. acos(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorProcessors. and(Expr.VectorInputBindingInspector inputTypes, Expr left, Expr right)Creates anExprVectorProcessorfor the logical 'and' operator, which produces a long typed vector output with values set by the following rules: true/true -> true (1) true/null, null/true, null/null -> null false/null, null/false -> false (0)static <T> ExprVectorProcessor<T>VectorMathProcessors. asin(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. atan(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. atan2(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseAnd(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseComplement(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseConvertDoubleToLongBits(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseConvertLongBitsToDouble(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseOr(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseShiftLeft(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseShiftRight(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. bitwiseXor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. cbrt(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. ceil(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorStringProcessors. concat(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. copySign(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. cos(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. cosh(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. cot(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. divide(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. doublePower(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. equal(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. exp(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. expm1(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. floor(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. getExponent(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. greaterThan(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. greaterThanOrEqual(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. hypot(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorProcessors. isNotNull(Expr.VectorInputBindingInspector inspector, Expr expr)Creates anExprVectorProcessorfor the 'isnotnull' function, that produces a "boolean" typed output vector (long[]) with values set to 1 if the input value was not null or 0 if it was null.static <T> ExprVectorProcessor<T>VectorProcessors. isNull(Expr.VectorInputBindingInspector inspector, Expr expr)Creates anExprVectorProcessorfor the 'isnull' function, that produces a "boolean" typed output vector (long[]) with values set to 1 if the input value was null or 0 if it was not null.static <T> ExprVectorProcessor<T>VectorComparisonProcessors. lessThan(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. lessThanOrEqual(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. log(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. log10(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. log1p(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. longDivide(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. makeBooleanProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<LongOutObjectsInFunctionVectorProcessor> longOutStringsInFunctionVectorProcessor, Supplier<LongOutLongsInFunctionVectorValueProcessor> longOutLongsInProcessor, Supplier<LongOutLongDoubleInFunctionVectorValueProcessor> longOutLongDoubleInProcessor, Supplier<LongOutDoubleLongInFunctionVectorValueProcessor> longOutDoubleLongInProcessor, Supplier<LongOutDoublesInFunctionVectorValueProcessor> longOutDoublesInProcessor)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. makeComparisonProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<LongOutObjectsInFunctionVectorProcessor> longOutStringsInFunctionVectorProcessor, Supplier<LongOutLongsInFunctionVectorValueProcessor> longOutLongsInProcessor, Supplier<DoubleOutLongDoubleInFunctionVectorValueProcessor> doubleOutLongDoubleInProcessor, Supplier<DoubleOutDoubleLongInFunctionVectorValueProcessor> doubleOutDoubleLongInProcessor, Supplier<DoubleOutDoublesInFunctionVectorValueProcessor> doubleOutDoublesInProcessor)Deprecated.static <T> ExprVectorProcessor<T>VectorMathProcessors. makeDoubleMathProcessor(Expr.VectorInputBindingInspector inspector, Expr arg, Supplier<DoubleOutLongInFunctionVectorValueProcessor> doubleOutLongInSupplier, Supplier<DoubleOutDoubleInFunctionVectorValueProcessor> doubleOutDoubleInSupplier)Make a 1 argument math processor with the following type rules long -> double double -> doublestatic <T> ExprVectorProcessor<T>VectorMathProcessors. makeDoubleMathProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<DoubleOutLongsInFunctionVectorValueProcessor> doubleOutLongsInProcessor, Supplier<DoubleOutLongDoubleInFunctionVectorValueProcessor> doubleOutLongDoubleInProcessor, Supplier<DoubleOutDoubleLongInFunctionVectorValueProcessor> doubleOutDoubleLongInProcessor, Supplier<DoubleOutDoublesInFunctionVectorValueProcessor> doubleOutDoublesInProcessor)Make a 2 argument, math processor with the following type rules long, long -> double long, double -> double double, long -> double double, double -> doublestatic <T> ExprVectorProcessor<T>VectorMathProcessors. makeLongMathProcessor(Expr.VectorInputBindingInspector inspector, Expr arg, Supplier<LongOutLongInFunctionVectorValueProcessor> longOutLongInSupplier, Supplier<LongOutDoubleInFunctionVectorValueProcessor> longOutDoubleInSupplier)Make a 1 argument math processor with the following type rules long -> long double -> longstatic <T> ExprVectorProcessor<T>VectorMathProcessors. makeLongMathProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<LongOutLongsInFunctionVectorValueProcessor> longOutLongsInProcessor, Supplier<LongOutLongDoubleInFunctionVectorValueProcessor> longOutLongDoubleInProcessor, Supplier<LongOutDoubleLongInFunctionVectorValueProcessor> longOutDoubleLongInProcessor, Supplier<LongOutDoublesInFunctionVectorValueProcessor> longOutDoublesInProcessor)Make a 2 argument, math processor with the following type rules long, long -> long long, double -> long double, long -> long double, double -> longstatic <T> ExprVectorProcessor<T>VectorMathProcessors. makeMathProcessor(Expr.VectorInputBindingInspector inspector, Expr arg, Supplier<LongOutLongInFunctionVectorValueProcessor> longOutLongInSupplier, Supplier<DoubleOutDoubleInFunctionVectorValueProcessor> doubleOutDoubleInSupplier)Make a 1 argument math processor with the following type rules long -> long double -> doublestatic <T> ExprVectorProcessor<T>VectorMathProcessors. makeMathProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<LongOutLongsInFunctionVectorValueProcessor> longOutLongsInProcessor, Supplier<DoubleOutLongDoubleInFunctionVectorValueProcessor> doubleOutLongDoubleInProcessor, Supplier<DoubleOutDoubleLongInFunctionVectorValueProcessor> doubleOutDoubleLongInProcessor, Supplier<DoubleOutDoublesInFunctionVectorValueProcessor> doubleOutDoublesInProcessor)Make a 2 argument, math processor with the following type rules long, long -> long long, double -> double double, long -> double double, double -> doublestatic <T> ExprVectorProcessor<T>VectorProcessors. makeSymmetricalProcessor(Expr.VectorInputBindingInspector inspector, Expr left, Expr right, Supplier<ExprVectorProcessor<?>> longProcessor, Supplier<ExprVectorProcessor<?>> doubleProcessor, Supplier<ExprVectorProcessor<?>> stringProcessor)Make a 2 argument, symmetrical processor where both argments must be the same input type and produce the same output type long, long -> long double, double -> double string, string -> stringstatic <T> ExprVectorProcessor<T>VectorMathProcessors. max(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. min(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. minus(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. modulo(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. multiply(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. negate(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. nextAfter(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. nextUp(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorProcessors. not(Expr.VectorInputBindingInspector inspector, Expr expr)Creates anExprVectorProcessorfor the logical 'not' operator, which produces a long typed vector output with values set by the following rules: false -> true (1) null -> null true -> false (0)static <T> ExprVectorProcessor<T>VectorComparisonProcessors. notEqual(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorProcessors. nvl(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)Creates anExprVectorProcessorfor the 'nvl' function, that will return the first argument value if it is not null, else the value of the 2nd argument.static <T> ExprVectorProcessor<T>VectorProcessors. or(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)Creates anExprVectorProcessorfor the logical 'or' operator, which produces a long typed vector output with values set by the following rules: true/null, null/true -> true (1) false/null, null/false, null/null -> null false/false -> false (0)static <T> ExprVectorProcessor<T>VectorProcessors. parseLong(Expr.VectorInputBindingInspector inspector, Expr arg, int radix)Creates anExprVectorProcessorthat will parse a string into a long value given a radix.static <T> ExprVectorProcessor<T>VectorMathProcessors. plus(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. power(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. remainder(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. rint(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. scalb(Expr.VectorInputBindingInspector inspector, Expr left, Expr right)static <T> ExprVectorProcessor<T>VectorMathProcessors. signum(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. sin(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. sinh(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. sqrt(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. tan(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. tanh(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. toDegrees(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. toRadians(Expr.VectorInputBindingInspector inspector, Expr arg)static <T> ExprVectorProcessor<T>VectorMathProcessors. ulp(Expr.VectorInputBindingInspector inspector, Expr arg)Method parameters in org.apache.druid.math.expr.vector with type arguments of type Expr Modifier and Type Method Description static <T> ExprVectorProcessor<T>VectorStringProcessors. concat(Expr.VectorInputBindingInspector inspector, List<Expr> inputs) -
Uses of Expr in org.apache.druid.query.aggregation
Fields in org.apache.druid.query.aggregation with type parameters of type Expr Modifier and Type Field Description protected com.google.common.base.Supplier<Expr>SimpleDoubleAggregatorFactory. fieldExpressionprotected com.google.common.base.Supplier<Expr>SimpleFloatAggregatorFactory. fieldExpressionprotected com.google.common.base.Supplier<Expr>SimpleLongAggregatorFactory. fieldExpressionMethods in org.apache.druid.query.aggregation that return Expr Modifier and Type Method Description ExprExpressionLambdaAggregatorFactory.FactorizePlan. getExpression()Method parameters in org.apache.druid.query.aggregation with type arguments of type Expr Modifier and Type Method Description static booleanAggregatorUtil. canVectorize(ColumnInspector columnInspector, String fieldName, String expression, com.google.common.base.Supplier<Expr> fieldExpression)static com.google.common.base.Supplier<byte[]>AggregatorUtil. getSimpleAggregatorCacheKeySupplier(byte aggregatorType, String fieldName, com.google.common.base.Supplier<Expr> fieldExpression)static VectorValueSelectorAggregatorUtil. makeVectorValueSelector(VectorColumnSelectorFactory columnSelectorFactory, String fieldName, String expression, com.google.common.base.Supplier<Expr> fieldExpression)Make aVectorValueSelectorfor primitive numeric or expression virtual column inputs. -
Uses of Expr in org.apache.druid.query.aggregation.post
Constructors in org.apache.druid.query.aggregation.post with parameters of type Expr Constructor Description ExpressionPostAggregator(String name, String expression, String ordering, ColumnType outputType, Expr parsed)Constructor for a pre-parsed expression. -
Uses of Expr in org.apache.druid.query.expression
Classes in org.apache.druid.query.expression that implement Expr Modifier and Type Class Description classTimestampExtractExprMacro.TimestampExtractDynamicExprclassTimestampExtractExprMacro.TimestampExtractExprstatic classTimestampFloorExprMacro.TimestampFloorDynamicExprstatic classTimestampFloorExprMacro.TimestampFloorExprMethods in org.apache.druid.query.expression that return Expr Modifier and Type Method Description ExprArrayQuantileExprMacro. apply(List<Expr> args)ExprCaseInsensitiveContainsExprMacro. apply(List<Expr> args)ExprContainsExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllAddExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllCreateExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllEstimateExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllRoundEstimateExprMacro. apply(List<Expr> args)ExprIPv4AddressMatchExprMacro. apply(List<Expr> args)ExprIPv4AddressParseExprMacro. apply(List<Expr> args)ExprIPv4AddressStringifyExprMacro. apply(List<Expr> args)ExprIPv6AddressMatchExprMacro. apply(List<Expr> args)ExprLikeExprMacro. apply(List<Expr> args)ExprLookupExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonKeysExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonObjectExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonPathsExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonQueryArrayExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonQueryExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonValueExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.ParseJsonExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.ToJsonStringExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.TryParseJsonExprMacro. apply(List<Expr> args)ExprRegexpExtractExprMacro. apply(List<Expr> args)ExprRegexpLikeExprMacro. apply(List<Expr> args)ExprRegexpReplaceExprMacro. apply(List<Expr> args)ExprTimestampCeilExprMacro. apply(List<Expr> args)ExprTimestampExtractExprMacro. apply(List<Expr> args)ExprTimestampFloorExprMacro. apply(List<Expr> args)ExprTimestampFormatExprMacro. apply(List<Expr> args)ExprTimestampParseExprMacro. apply(List<Expr> args)ExprTimestampShiftExprMacro. apply(List<Expr> args)ExprTrimExprMacro. apply(List<Expr> args)ExprTimestampFloorExprMacro.TimestampFloorExpr. getArg()Exposed for Druid SQL: this is used by Expressions.toQueryGranularity.Method parameters in org.apache.druid.query.expression with type arguments of type Expr Modifier and Type Method Description ExprArrayQuantileExprMacro. apply(List<Expr> args)ExprCaseInsensitiveContainsExprMacro. apply(List<Expr> args)ExprContainsExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllAddExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllCreateExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllEstimateExprMacro. apply(List<Expr> args)ExprHyperUniqueExpressions.HllRoundEstimateExprMacro. apply(List<Expr> args)ExprIPv4AddressMatchExprMacro. apply(List<Expr> args)ExprIPv4AddressParseExprMacro. apply(List<Expr> args)ExprIPv4AddressStringifyExprMacro. apply(List<Expr> args)ExprIPv6AddressMatchExprMacro. apply(List<Expr> args)ExprLikeExprMacro. apply(List<Expr> args)ExprLookupExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonKeysExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonObjectExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonPathsExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonQueryArrayExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonQueryExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.JsonValueExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.ParseJsonExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.ToJsonStringExprMacro. apply(List<Expr> args)ExprNestedDataExpressions.TryParseJsonExprMacro. apply(List<Expr> args)ExprRegexpExtractExprMacro. apply(List<Expr> args)ExprRegexpLikeExprMacro. apply(List<Expr> args)ExprRegexpReplaceExprMacro. apply(List<Expr> args)ExprTimestampCeilExprMacro. apply(List<Expr> args)ExprTimestampExtractExprMacro. apply(List<Expr> args)ExprTimestampFloorExprMacro. apply(List<Expr> args)ExprTimestampFormatExprMacro. apply(List<Expr> args)ExprTimestampParseExprMacro. apply(List<Expr> args)ExprTimestampShiftExprMacro. apply(List<Expr> args)ExprTrimExprMacro. apply(List<Expr> args) -
Uses of Expr in org.apache.druid.query.filter
Constructors in org.apache.druid.query.filter with parameters of type Expr Constructor Description ExpressionDimFilter(String expression, Expr parsed, FilterTuning filterTuning)Constructor for already-parsed-and-analyzed expressions. -
Uses of Expr in org.apache.druid.segment
Methods in org.apache.druid.segment with parameters of type Expr Modifier and Type Method Description static <T> TColumnProcessors. makeProcessor(Expr expr, ColumnType exprTypeHint, ColumnProcessorFactory<T> processorFactory, ColumnSelectorFactory selectorFactory)Make a processor for a particular expression. -
Uses of Expr in org.apache.druid.segment.filter
Constructor parameters in org.apache.druid.segment.filter with type arguments of type Expr Constructor Description ExpressionFilter(com.google.common.base.Supplier<Expr> expr, FilterTuning filterTuning) -
Uses of Expr in org.apache.druid.segment.join
Methods in org.apache.druid.segment.join that return Expr Modifier and Type Method Description ExprEquality. getLeftExpr()Methods in org.apache.druid.segment.join that return types with arguments of type Expr Modifier and Type Method Description List<Expr>JoinConditionAnalysis. getNonEquiConditions()Return a list of non-equi-conditions (see class-level javadoc).Methods in org.apache.druid.segment.join with parameters of type Expr Modifier and Type Method Description static JoinConditionAnalysisJoinConditionAnalysis. forExpression(String condition, Expr conditionExpr, String rightPrefix)Analyze a join condition from a pre-parsed expression.Constructors in org.apache.druid.segment.join with parameters of type Expr Constructor Description Equality(Expr leftExpr, String rightColumn, boolean includeNull) -
Uses of Expr in org.apache.druid.segment.join.filter
Methods in org.apache.druid.segment.join.filter that return types with arguments of type Expr Modifier and Type Method Description List<Expr>JoinFilterColumnCorrelationAnalysis. getBaseExpressions()Set<Expr>Equiconditions. getLhsExprs(String rhsColumn)Constructor parameters in org.apache.druid.segment.join.filter with type arguments of type Expr Constructor Description Equiconditions(Map<String,Set<Expr>> equiconditions) -
Uses of Expr in org.apache.druid.segment.virtual
Methods in org.apache.druid.segment.virtual that return Expr Modifier and Type Method Description ExprExpressionPlan. getAppliedExpression()If an expression uses a multi-valued input in a scalar manner, the expression can be automatically transformed to map these values across the expression, applying the original expression to every value.ExprExpressionPlan. getAppliedFoldExpression(String accumulatorId)If an expression uses a multi-valued input in a scalar manner, and the expression contains an accumulator such as for use as part of an aggregator, the expression can be automatically transformed to fold the accumulator across the values of the original expression.ExprExpressionPlan. getExpression()Gets the original expression that was plannedMethods in org.apache.druid.segment.virtual that return types with arguments of type Expr Modifier and Type Method Description com.google.common.base.Supplier<Expr>ExpressionVirtualColumn. getParsedExpression()Methods in org.apache.druid.segment.virtual with parameters of type Expr Modifier and Type Method Description static ColumnValueSelectorExpressionSelectors. makeColumnValueSelector(ColumnSelectorFactory columnSelectorFactory, Expr expression)Makes a ColumnValueSelector whose getObject method returns an Object that is the value computed by anExprEval.static DimensionSelectorExpressionSelectors. makeDimensionSelector(ColumnSelectorFactory columnSelectorFactory, Expr expression, ExtractionFn extractionFn)Makes a single or multi-valueDimensionSelectorwrapper around aColumnValueSelectorcreated byExpressionSelectors.makeExprEvalSelector(ColumnSelectorFactory, Expr)as appropriatestatic ColumnValueSelector<ExprEval>ExpressionSelectors. makeExprEvalSelector(ColumnSelectorFactory columnSelectorFactory, Expr expression)Makes a ColumnValueSelector whose getObject method returns anExprEval.static SingleValueDimensionVectorSelectorExpressionVectorSelectors. makeSingleValueDimensionVectorSelector(VectorColumnSelectorFactory factory, Expr expression)static ColumnValueSelectorExpressionSelectors. makeStringColumnValueSelector(ColumnSelectorFactory columnSelectorFactory, Expr expression)static VectorObjectSelectorExpressionVectorSelectors. makeVectorObjectSelector(VectorColumnSelectorFactory factory, Expr expression)static VectorValueSelectorExpressionVectorSelectors. makeVectorValueSelector(VectorColumnSelectorFactory factory, Expr expression)static ExpressionPlanExpressionPlanner. plan(ColumnInspector inspector, Expr expression)Druid tries to be chill to expressions to make up for not having a well defined table schema across segments.Constructors in org.apache.druid.segment.virtual with parameters of type Expr Constructor Description ExpressionColumnValueSelector(Expr expression, Expr.ObjectBinding bindings, RowIdSupplier rowIdSupplier)ExpressionVirtualColumn(String name, String expression, Expr parsedExpression, ColumnType outputType)Constructor for creating an ExpressionVirtualColumn from a pre-parsed-and-analyzed expression, where the original expression string is known.ExpressionVirtualColumn(String name, Expr parsedExpression, ColumnType outputType)Constructor for creating an ExpressionVirtualColumn from a pre-parsed expression, where the original expression string is not known.LruEvalCache(Expr expression, Expr.ObjectBinding bindings)SingleLongInputCachingExpressionColumnValueSelector(ColumnValueSelector selector, Expr expression, boolean useLruCache, RowIdSupplier rowIdSupplier)SingleStringInputCachingExpressionColumnValueSelector(DimensionSelector selector, Expr expression, RowIdSupplier rowIdSupplier)SingleStringInputDeferredEvaluationExpressionDimensionSelector(DimensionSelector selector, Expr expression)SingleStringInputDeferredEvaluationExpressionDimensionVectorSelector(SingleValueDimensionVectorSelector selector, Expr expression)
-