Uses of Package
org.apache.druid.sql.calcite.expression
Packages that use org.apache.druid.sql.calcite.expression
Package
Description
-
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.aggregationClassDescriptionRepresents two kinds of expression-like concepts that native Druid queries support: (1) SimpleExtractions, which are direct column access, possibly with an extractionFn (2) native Druid expressions and virtual columns When added to
VirtualColumnRegistrywhenever used by projections, filters, aggregators, or other query components, these will be converted into native virtual columns usingDruidExpression.toVirtualColumn(String, ColumnType, ExpressionParser)Approximate expression structure is retained in theDruidExpression.arguments, which when fed into theDruidExpression.ExpressionGeneratorthat allDruidExpressionmust be created with will produce the final String expression (which will be later parsed intoExprduring native processing). -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.expressionClassDescriptionOperand type checker that is used in 'simple' situations: there are a particular number of operands, with particular types, some of which may be optional or nullable, and some of which may be required to be literals.Conversion for SQL operators that map 1-1 onto native functions.Represents two kinds of expression-like concepts that native Druid queries support: (1) SimpleExtractions, which are direct column access, possibly with an extractionFn (2) native Druid expressions and virtual columns When added to
VirtualColumnRegistrywhenever used by projections, filters, aggregators, or other query components, these will be converted into native virtual columns usingDruidExpression.toVirtualColumn(String, ColumnType, ExpressionParser)Approximate expression structure is retained in theDruidExpression.arguments, which when fed into theDruidExpression.ExpressionGeneratorthat allDruidExpressionmust be created with will produce the final String expression (which will be later parsed intoExprduring native processing).Create aDruidExpressiongiven some set of input argument sub-expressionsUsed byDruidExpressionto compile a string which can be parsed into anExprfrom given the sub-expression argumentsUsed by aDruidExpressionto translate itself into aVirtualColumnto add to a native query when referenced by a projection, filter, aggregator, etc.Literal value, plus aExpressionTypethat represents how to interpret the literal value.Helps in creating the operator builder along with validations and type inference for simple operator conversions.This class serves as a tracking structure for managing post aggregator column names and any post aggs that are created as part of translation of a CalciteRexNodeinto native Druid structures.Represents a "simple" extraction of a value from a Druid row, which is defined as a column plus an optional extractionFn. -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.expression.builtinClassDescriptionConversion for SQL operators that map 1-1 onto native functions.Represents two kinds of expression-like concepts that native Druid queries support: (1) SimpleExtractions, which are direct column access, possibly with an extractionFn (2) native Druid expressions and virtual columns When added to
VirtualColumnRegistrywhenever used by projections, filters, aggregators, or other query components, these will be converted into native virtual columns usingDruidExpression.toVirtualColumn(String, ColumnType, ExpressionParser)Approximate expression structure is retained in theDruidExpression.arguments, which when fed into theDruidExpression.ExpressionGeneratorthat allDruidExpressionmust be created with will produce the final String expression (which will be later parsed intoExprduring native processing).This class serves as a tracking structure for managing post aggregator column names and any post aggs that are created as part of translation of a CalciteRexNodeinto native Druid structures.Represents a "simple" extraction of a value from a Druid row, which is defined as a column plus an optional extractionFn. -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.externalClassDescriptionInterface for
SqlOperatorthat need authorization in order to execute.Represents two kinds of expression-like concepts that native Druid queries support: (1) SimpleExtractions, which are direct column access, possibly with an extractionFn (2) native Druid expressions and virtual columns When added toVirtualColumnRegistrywhenever used by projections, filters, aggregators, or other query components, these will be converted into native virtual columns usingDruidExpression.toVirtualColumn(String, ColumnType, ExpressionParser)Approximate expression structure is retained in theDruidExpression.arguments, which when fed into theDruidExpression.ExpressionGeneratorthat allDruidExpressionmust be created with will produce the final String expression (which will be later parsed intoExprduring native processing). -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.plannerClassDescriptionInterface for
SqlOperatorthat need authorization in order to execute.Conversion for SQL operators that map 1-1 onto native functions. -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.relClassDescriptionRepresents two kinds of expression-like concepts that native Druid queries support: (1) SimpleExtractions, which are direct column access, possibly with an extractionFn (2) native Druid expressions and virtual columns When added to
VirtualColumnRegistrywhenever used by projections, filters, aggregators, or other query components, these will be converted into native virtual columns usingDruidExpression.toVirtualColumn(String, ColumnType, ExpressionParser)Approximate expression structure is retained in theDruidExpression.arguments, which when fed into theDruidExpression.ExpressionGeneratorthat allDruidExpressionmust be created with will produce the final String expression (which will be later parsed intoExprduring native processing). -
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.calcite.tableClassDescriptionRepresents a "simple" extraction of a value from a Druid row, which is defined as a column plus an optional extractionFn.
-
Classes in org.apache.druid.sql.calcite.expression used by org.apache.druid.sql.guice