Package org.apache.calcite.rel.rules
Class MeasureRules
java.lang.Object
org.apache.calcite.rel.rules.MeasureRules
Collection of planner rules that deal with measures.
A typical rule pushes down M2V(measure)
until it reaches a V2M(expression).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRule that matches anAggregatewith at least one call toSqlInternalOperators.AGG_M2Vand expands these calls by asking the measure for its expression.static interfaceConfiguration forMeasureRules.AggregateMeasure2Rule.static classRule that matches anAggregatewith at least one call toSqlInternalOperators.AGG_M2Vand converts those calls toSqlInternalOperators.M2X.static interfaceConfiguration forMeasureRules.AggregateMeasureRule.static classstatic interfaceConfiguration forMeasureRules.FilterSortMeasureRule.static classstatic interfaceConfiguration forMeasureRules.ProjectMeasureRule.static classstatic interfaceConfiguration forMeasureRules.ProjectSortMeasureRule. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RelOptRulestatic final RelOptRulestatic final RelOptRulestatic final RelOptRulestatic final RelOptRule -
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<? extends RelOptRule>rules()Returns all rules.
-
Field Details
-
AGGREGATE
-
PROJECT
-
AGGREGATE2
-
FILTER_SORT
-
PROJECT_SORT
-
-
Method Details
-
rules
Returns all rules.
-