| Modifier and Type | Class and Description |
|---|---|
class |
BinaryOperatorConversion
Binary operator conversion utility class used to convert expression like exp1 Operator exp2
|
class |
CeilOperatorConversion
DruidSqlOperatorConverter implementation that handles Ceil operations conversions
|
class |
DirectOperatorConversion
Direct operator conversion for expression like Function(exp_1,...exp_n)
|
class |
DruidSqlCastConverter
Druid cast converter operator used to translates calcite casts to Druid expression cast
|
class |
ExtractOperatorConversion
Time extract operator conversion for expressions like EXTRACT(timeUnit FROM arg)
Unit can be SECOND, MINUTE, HOUR, DAY (day of month),
DOW (day of week), DOY (day of year), WEEK (week of week year),
MONTH (1 through 12), QUARTER (1 through 4), or YEAR
|
class |
FloorOperatorConversion
DruidSqlOperatorConverter implementation that handles Floor operations conversions
|
class |
NaryOperatorConverter
Converts Calcite n-ary operators to druid expression eg (arg1 Op arg2 Op arg3)
|
class |
SubstringOperatorConversion
Converts Calcite SUBSTRING call to Druid Expression when possible
|
class |
UnaryPrefixOperatorConversion
Unary prefix Operator conversion class used to convert expression like Unary NOT and Minus
|
class |
UnarySuffixOperatorConversion
Unary suffix operator conversion, used to convert function like: expression Unary_Operator
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Map<SqlOperator,DruidSqlOperatorConverter> |
DruidQuery.converterOperatorMap
This operator map provides DruidSqlOperatorConverter instance to convert a Calcite RexNode to
Druid Expression when possible.
|
static List<DruidSqlOperatorConverter> |
DruidQuery.DEFAULT_OPERATORS_LIST
Provides a standard list of supported Calcite operators that can be converted to
Druid Expressions.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<SqlOperator,DruidSqlOperatorConverter> |
DruidQuery.getOperatorConversionMap() |
| Modifier and Type | Method and Description |
|---|---|
private static DruidQuery |
DruidQuery.create(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
DruidTable druidTable,
List<org.joda.time.Interval> intervals,
List<RelNode> rels,
Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.
|
static DruidQuery |
DruidQuery.create(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
DruidTable druidTable,
List<RelNode> rels,
Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.
|
| Constructor and Description |
|---|
DruidQuery(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
DruidTable druidTable,
List<org.joda.time.Interval> intervals,
List<RelNode> rels,
Map<SqlOperator,DruidSqlOperatorConverter> converterOperatorMap)
Creates a DruidQuery.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.