Interface BuiltInMetadata.Measure.Context

All Known Implementing Classes:
RelMdMeasure.DelegatingContext
Enclosing interface:
BuiltInMetadata.Measure

public static interface BuiltInMetadata.Measure.Context
Context for a use of a measure at a call site.
  • Method Details

    • getRelBuilder

      RelBuilder getRelBuilder()
    • getRexBuilder

      default RexBuilder getRexBuilder()
    • getTypeFactory

      default RelDataTypeFactory getTypeFactory()
    • getFilters

      List<RexNode> getFilters(RelBuilder b)
      Returns a (conjunctive) list of filters.

      The filters represent the "filter context" and will become the WHERE clause of the subquery.

      If the relation defining the measure has N dimensions then the dimensions can be referenced using RexInputRef 0 through N-1.

    • getDimensionCount

      int getDimensionCount()
      Returns the number of dimension columns.