Package org.apache.calcite.adapter.druid
Class DruidRules
java.lang.Object
org.apache.calcite.adapter.druid.DruidRules
Rules and relational operators for
DruidQuery
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Rule to push anAggregate
into aDruidQuery
.static class
Rule to push aFilter
into aDruidQuery
.static class
Rule to Push a HavingFilter
into aDruidQuery
.static class
Rule to push aProject
into aDruidQuery
as a Post aggregator.static class
Rule to push aProject
into aDruidQuery
.static class
Rule to push aSort
into aDruidQuery
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final DruidRules.DruidAggregateRule
static final AggregateFilterTransposeRule
static final DruidRules.DruidAggregateProjectRule
static final DruidRules.DruidHavingFilterRule
static final DruidRules.DruidFilterRule
static final FilterAggregateTransposeRule
static final FilterProjectTransposeRule
protected static final org.slf4j.Logger
static final DruidRules.DruidPostAggregationProjectRule
static final DruidRules.DruidProjectRule
static final AggregateExtractProjectRule
Rule to extract aProject
fromAggregate
on top ofDruidQuery
based on the fields used in the aggregate.static final ProjectFilterTransposeRule
static final List<RelOptRule>
static final DruidRules.DruidSortRule
static final SortProjectTransposeRule
-
Method Summary
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
FILTER
-
PROJECT
-
AGGREGATE
-
AGGREGATE_PROJECT
-
SORT
-
SORT_PROJECT_TRANSPOSE
-
PROJECT_FILTER_TRANSPOSE
-
FILTER_PROJECT_TRANSPOSE
-
AGGREGATE_FILTER_TRANSPOSE
-
FILTER_AGGREGATE_TRANSPOSE
-
POST_AGGREGATION_PROJECT
-
PROJECT_EXTRACT_RULE
Rule to extract aProject
fromAggregate
on top ofDruidQuery
based on the fields used in the aggregate. -
DRUID_HAVING_FILTER_RULE
-
RULES
-