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
Modifier and TypeClassDescriptionstatic class
Rule that matches anAggregate
with at least one call toSqlInternalOperators.AGG_M2V
and expands these calls by asking the measure for its expression.static interface
Configuration forMeasureRules.AggregateMeasure2Rule
.static class
Rule that matches anAggregate
with at least one call toSqlInternalOperators.AGG_M2V
and converts those calls toSqlInternalOperators.M2X
.static interface
Configuration forMeasureRules.AggregateMeasureRule
.static class
static interface
Configuration forMeasureRules.FilterSortMeasureRule
.static class
static interface
Configuration forMeasureRules.ProjectMeasureRule
.static class
static interface
Configuration forMeasureRules.ProjectSortMeasureRule
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final RelOptRule
static final RelOptRule
static final RelOptRule
static final RelOptRule
static 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.
-