Uses of Package
org.apache.druid.math.expr
-
Classes in org.apache.druid.math.expr used by org.apache.druid.frame.processor Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.frame.segment Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.frame.segment.columnar Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.frame.segment.row Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.guice Class Description ExprMacroTable.ExprMacro -
Classes in org.apache.druid.math.expr used by org.apache.druid.math.expr Class Description ApplyFunction Base interface describing the mechanism used to evaluate anApplyFunctionExpr
, which 'applies' aLambdaExpr
to one or more arrayExpr
.ApplyFunction.BaseFoldFunction Base class for family ofApplyFunction
which aggregate a scalar or array value given one or more array inputExpr
arguments and an array or scalar "accumulator" argument with an initial valueApplyFunction.BaseMapFunction Base class for "map" functions, which are a class ofApplyFunction
which take a lambda function that is mapped to the values of anApplyFunction.IndexableMapLambdaObjectBinding
which is created from the outerExpr.ObjectBinding
and the values of the arrayExpr
argument(s)ApplyFunction.CartesianFoldLambdaBinding ApplyFunction.CartesianMapLambdaBinding ApplyFunction.FoldLambdaBinding ApplyFunction.IndexableFoldLambdaBinding Expr.ObjectBinding
which can be iterated by an integer index position forApplyFunction.BaseFoldFunction
.ApplyFunction.IndexableMapLambdaObjectBinding Expr.ObjectBinding
which can be iterated by an integer index position forApplyFunction.BaseMapFunction
.ApplyFunction.MapLambdaBinding ApplyFunction.MatchFunction Base class for family ofApplyFunction
which evaluate elements elements of a single array input against aLambdaExpr
to evaluate to a final 'truthy' valueApplyFunction.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 lambdaExpr Base interface of Druid expression language abstract syntax tree nodes.Expr.BindingAnalysis Information about the context in whichIdentifierExpr
are used in a greaterExpr
, listing the 'free variables' (total set of required input columns or values) and distinguishing between which identifiers are used as scalar inputs and which are used as array inputs.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.Expr.ObjectBinding Mechanism to supply values to backIdentifierExpr
during expression evaluationExpr.Shuttle Mechanism to rewrite anExpr
, implementing aExpr.Shuttle
allows visiting all children of anExpr
, and replacing them as desired.Expr.VectorInputBindingInspector Expr.InputBindingInspector
+ vectorizations stuff forExpr.asVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector)
ExpressionProcessingException ExpressionType The type system used to process Druid expressions.ExpressionTypeFactory ExpressionValidationException ExprEval ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language.ExprMacroTable.ExprMacro ExprMacroTable.ExprMacroFunctionExpr stub interface to allowParser.flatten(Expr)
a way to recognize macro functions that exend thisExprType Base 'value' types of Druid expression language, allExpr
must evaluate to one of these types.Function Base interface describing the mechanism used to evaluate aFunctionExpr
.Function.ArrayAddElementFunction Scaffolding for a 2 argumentFunction
which accepts one array and one scalar input and adds the scalar input to the array in some way.Function.ArrayScalarFunction Function
that takes 1 array operand and 1 scalar operandFunction.ArraysFunction Function
that takes 2 array operandsFunction.ArraysMergeFunction Base scaffolding for functions which accept 2 array arguments and combine them in some wayFunction.BivariateBitwiseMathFunction Function.BivariateFunction Base class for a 2 variable inputFunction
implementationFunction.BivariateMathFunction Base class for a 2 variable input mathematicalFunction
, with specialized 'eval' implementations that operate on primitive number typesFunction.DoubleBivariateMathFunction Many math functions always output aDouble
primitive, regardless of input type.Function.DoubleUnivariateMathFunction Many math functions always output aDouble
primitive, regardless of input type.Function.IsNotDistinctFromFunc SQL function "x IS NOT DISTINCT FROM y".Function.ReduceFunction Function.SizeFormatFunc Function.StringLongFunction Base class for a 2 variable inputFunction
whose first argument is aExprType.STRING
and second argument isExprType.LONG
Function.TimestampFromEpochFunc Function.UnivariateFunction Base class for a single variable inputFunction
implementationFunction.UnivariateMathFunction Base class for a single variable input mathematicalFunction
, with specialized 'eval' implementations that that operate on primitive number typesInputBindings.InputSupplier NamedFunction Common stuff for "named" functions of "functional" expressions, such asFunctionExpr
,ApplyFunctionExpr
, andExprMacroTable.ExprMacroFunctionExpr
.SettableObjectBinding Simple map backed object binding -
Classes in org.apache.druid.math.expr used by org.apache.druid.math.expr.vector Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.VectorInputBinding Mechanism to supply batches of input values to aExprVectorProcessor
for optimized processing.Expr.VectorInputBindingInspector Expr.InputBindingInspector
+ vectorizations stuff forExpr.asVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector)
ExpressionType The type system used to process Druid expressions. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query Class Description ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query.aggregation Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.Expr.ObjectBinding Mechanism to supply values to backIdentifierExpr
during expression evaluationExpressionType The type system used to process Druid expressions.ExprEval ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query.aggregation.post Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query.expression Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.Expr.ObjectBinding Mechanism to supply values to backIdentifierExpr
during expression evaluationExpr.Shuttle Mechanism to rewrite anExpr
, implementing aExpr.Shuttle
allows visiting all children of anExpr
, and replacing them as desired.Expr.VectorInputBindingInspector Expr.InputBindingInspector
+ vectorizations stuff forExpr.asVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector)
ExpressionType The type system used to process Druid expressions.ExprEval ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language.ExprMacroTable.BaseScalarMacroFunctionExpr Base class for multi-argumentExprMacroTable.ExprMacro
functionExpr
ExprMacroTable.ExprMacro ExprMacroTable.ExprMacroFunctionExpr stub interface to allowParser.flatten(Expr)
a way to recognize macro functions that exend thisNamedFunction Common stuff for "named" functions of "functional" expressions, such asFunctionExpr
,ApplyFunctionExpr
, andExprMacroTable.ExprMacroFunctionExpr
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query.filter Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.ExpressionType The type system used to process Druid expressions.ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.query.rowsandcols.semantic Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.ExpressionType The type system used to process Druid expressions.ExprEval -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.column Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.filter Class Description Expr Base interface of Druid expression language abstract syntax tree nodes. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.incremental Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.join Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.join.filter Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.join.lookup Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.join.table Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.nested Class Description ExpressionType The type system used to process Druid expressions. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.transform Class Description ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.vector Class Description Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
. -
Classes in org.apache.druid.math.expr used by org.apache.druid.segment.virtual Class Description Expr Base interface of Druid expression language abstract syntax tree nodes.Expr.BindingAnalysis Information about the context in whichIdentifierExpr
are used in a greaterExpr
, listing the 'free variables' (total set of required input columns or values) and distinguishing between which identifiers are used as scalar inputs and which are used as array inputs.Expr.InputBindingInspector Mechanism to supply input types for the bindings which will backIdentifierExpr
, to use in the aid of inferring the output type of an expression withExpr.getOutputType(org.apache.druid.math.expr.Expr.InputBindingInspector)
.Expr.ObjectBinding Mechanism to supply values to backIdentifierExpr
during expression evaluationExpr.VectorInputBinding Mechanism to supply batches of input values to aExprVectorProcessor
for optimized processing.Expr.VectorInputBindingInspector Expr.InputBindingInspector
+ vectorizations stuff forExpr.asVectorProcessor(org.apache.druid.math.expr.Expr.VectorInputBindingInspector)
ExpressionType The type system used to process Druid expressions.ExprEval ExprMacroTable Mechanism by which Druid expressions can define new functions for the Druid expression language.