Package org.apache.calcite.rel.metadata
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 Summary
Modifier and TypeMethodDescriptionintReturns the number of dimension columns.Returns a (conjunctive) list of filters.default RexBuilderdefault RelDataTypeFactory
-
Method Details
-
getRelBuilder
RelBuilder getRelBuilder() -
getRexBuilder
-
getTypeFactory
-
getFilters
Returns a (conjunctive) list of filters.The filters represent the "filter context" and will become the
WHEREclause of the subquery.If the relation defining the measure has
Ndimensions then the dimensions can be referenced usingRexInputRef0 through N-1. -
getDimensionCount
int getDimensionCount()Returns the number of dimension columns.
-