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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classRule to push anAggregateinto aDruidQuery.static classRule to push aFilterinto aDruidQuery.static classRule to Push a HavingFilterinto aDruidQuery.static classRule to push aProjectinto aDruidQueryas a Post aggregator.static classRule to push aProjectinto aDruidQuery.static classRule to push aSortinto aDruidQuery. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DruidRules.DruidAggregateRulestatic final AggregateFilterTransposeRulestatic final DruidRules.DruidAggregateProjectRulestatic final DruidRules.DruidHavingFilterRulestatic final DruidRules.DruidFilterRulestatic final FilterAggregateTransposeRulestatic final FilterProjectTransposeRuleprotected static final org.slf4j.Loggerstatic final DruidRules.DruidPostAggregationProjectRulestatic final DruidRules.DruidProjectRulestatic final AggregateExtractProjectRuleRule to extract aProjectfromAggregateon top ofDruidQuerybased on the fields used in the aggregate.static final ProjectFilterTransposeRulestatic final List<RelOptRule>static final DruidRules.DruidSortRulestatic 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 aProjectfromAggregateon top ofDruidQuerybased on the fields used in the aggregate. -
DRUID_HAVING_FILTER_RULE
-
RULES
-