| Modifier and Type | Method and Description |
|---|---|
Aggregation |
QuantileSqlAggregator.toDruidAggregation(String name,
RowSignature rowSignature,
DruidOperatorTable operatorTable,
PlannerContext plannerContext,
List<Aggregation> existingAggregations,
org.apache.calcite.rel.core.Project project,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
DimFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
SqlAggregator.toDruidAggregation(String name,
RowSignature rowSignature,
DruidOperatorTable operatorTable,
PlannerContext plannerContext,
List<Aggregation> existingAggregations,
org.apache.calcite.rel.core.Project project,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
DimFilter filter)
Returns Druid Aggregation corresponding to a SQL
AggregateCall. |
Aggregation |
ApproxCountDistinctSqlAggregator.toDruidAggregation(String name,
RowSignature rowSignature,
DruidOperatorTable operatorTable,
PlannerContext plannerContext,
List<Aggregation> existingAggregations,
org.apache.calcite.rel.core.Project project,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
DimFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
RowExtraction |
SubstringExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
RowExtraction |
SqlExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression)
Returns the Druid
RowExtraction corresponding to a SQL RexNode. |
RowExtraction |
RegexpExtractExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
RowExtraction |
LookupExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
RowExtraction |
FloorExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
RowExtraction |
ExtractExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
RowExtraction |
CharacterLengthExtractionOperator.convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression) |
static DimFilter |
Expressions.toFilter(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode expression)
Translates "condition" to a Druid filter, or returns null if we cannot translate the condition.
|
static RowExtraction |
Expressions.toRowExtraction(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression)
Translate a Calcite row-expression to a Druid row extraction.
|
| Modifier and Type | Method and Description |
|---|---|
static PlannerContext |
PlannerContext.create(DruidOperatorTable operatorTable,
ExprMacroTable macroTable,
PlannerConfig plannerConfig,
Map<String,Object> queryContext) |
PlannerContext |
DruidPlanner.getPlannerContext() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.calcite.tools.Program> |
Rules.programs(PlannerContext plannerContext,
QueryMaker queryMaker) |
| Constructor and Description |
|---|
DruidConvertletTable(PlannerContext plannerContext) |
DruidPlanner(org.apache.calcite.tools.Planner planner,
PlannerContext plannerContext) |
| Modifier and Type | Method and Description |
|---|---|
PlannerContext |
QueryMaker.getPlannerContext() |
PlannerContext |
DruidRel.getPlannerContext() |
| Modifier and Type | Method and Description |
|---|---|
static DruidQueryRel |
DruidQueryRel.fullScan(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
DruidTable druidTable,
PlannerContext plannerContext,
QueryMaker queryMaker)
Create a DruidQueryRel representing a full scan.
|
| Constructor and Description |
|---|
QueryMaker(QuerySegmentWalker walker,
PlannerContext plannerContext,
ServerConfig serverConfig) |
| Constructor and Description |
|---|
DruidTableScanRule(PlannerContext plannerContext,
QueryMaker queryMaker) |
Copyright © 2011–2017. All rights reserved.