| Package | Description |
|---|---|
| io.druid.sql.calcite.aggregation | |
| io.druid.sql.calcite.aggregation.builtin | |
| io.druid.sql.calcite.rel | |
| io.druid.sql.calcite.rule |
| Modifier and Type | Method and Description |
|---|---|
static Aggregation |
Aggregation.create(io.druid.query.aggregation.AggregatorFactory aggregatorFactory) |
static Aggregation |
Aggregation.create(List<io.druid.query.aggregation.AggregatorFactory> aggregatorFactories,
io.druid.query.aggregation.PostAggregator postAggregator) |
static Aggregation |
Aggregation.create(List<io.druid.segment.VirtualColumn> virtualColumns,
io.druid.query.aggregation.AggregatorFactory aggregatorFactory) |
static Aggregation |
Aggregation.create(List<io.druid.segment.VirtualColumn> virtualColumns,
List<io.druid.query.aggregation.AggregatorFactory> aggregatorFactories,
io.druid.query.aggregation.PostAggregator postAggregator) |
static Aggregation |
Aggregation.create(io.druid.query.aggregation.PostAggregator postAggregator) |
Aggregation |
Aggregation.filter(RowSignature sourceRowSignature,
io.druid.query.filter.DimFilter filter) |
Aggregation |
SqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations)
Returns a Druid Aggregation corresponding to a SQL
AggregateCall. |
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
SqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations)
Returns a Druid Aggregation corresponding to a SQL
AggregateCall. |
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
AvgSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
MaxSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
SumSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
CountSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
ApproxCountDistinctSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
MinSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
| Modifier and Type | Method and Description |
|---|---|
Aggregation |
AvgSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
MaxSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
SumSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
CountSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
ApproxCountDistinctSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
Aggregation |
MinSqlAggregator.toDruidAggregation(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
String name,
org.apache.calcite.rel.core.AggregateCall aggregateCall,
org.apache.calcite.rel.core.Project project,
List<Aggregation> existingAggregations,
boolean finalizeAggregations) |
| Modifier and Type | Method and Description |
|---|---|
List<Aggregation> |
Grouping.getAggregations() |
| Modifier and Type | Method and Description |
|---|---|
static Grouping |
Grouping.create(List<DimensionExpression> dimensions,
List<Aggregation> aggregations,
io.druid.query.filter.DimFilter havingFilter,
RowSignature outputRowSignature) |
| Modifier and Type | Method and Description |
|---|---|
static Aggregation |
GroupByRules.translateAggregateCall(PlannerContext plannerContext,
RowSignature sourceRowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
org.apache.calcite.rel.core.Project project,
org.apache.calcite.rel.core.AggregateCall call,
List<Aggregation> existingAggregations,
String name,
boolean finalizeAggregations)
Translate an AggregateCall to Druid equivalents.
|
| Modifier and Type | Method and Description |
|---|---|
static Aggregation |
GroupByRules.translateAggregateCall(PlannerContext plannerContext,
RowSignature sourceRowSignature,
org.apache.calcite.rex.RexBuilder rexBuilder,
org.apache.calcite.rel.core.Project project,
org.apache.calcite.rel.core.AggregateCall call,
List<Aggregation> existingAggregations,
String name,
boolean finalizeAggregations)
Translate an AggregateCall to Druid equivalents.
|
Copyright © 2011–2018. All rights reserved.