Class MeasureRules

java.lang.Object
org.apache.calcite.rel.rules.MeasureRules

public abstract class MeasureRules extends Object
Collection of planner rules that deal with measures.

A typical rule pushes down M2V(measure) until it reaches a V2M(expression).

See Also:
  • Field Details

    • AGGREGATE

      public static final RelOptRule AGGREGATE
      Rule that matches an Aggregate that contains an AGG_M2V call and pushes down the AGG_M2V call into a Project.
    • PROJECT

      public static final RelOptRule PROJECT
      Rule that merges an Aggregate onto a Project that contains a M2X call.
    • AGGREGATE2

      public static final RelOptRule AGGREGATE2
      Rule that matches an Aggregate that contains an AGG_M2V call and pushes down the AGG_M2V call into a Project.
    • FILTER_SORT

      public static final RelOptRule FILTER_SORT
      Rule that matches a Filter that contains a M2V call on top of a Sort and pushes down the M2V call.
    • PROJECT_SORT

      public static final RelOptRule PROJECT_SORT
      Rule that matches a Project that contains a M2V call on top of a Sort and pushes down the M2V call.
  • Method Details