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 TypeMethodDescriptionint
Returns the number of dimension columns.Returns a (conjunctive) list of filters.default RexBuilder
default 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
WHERE
clause of the subquery.If the relation defining the measure has
N
dimensions then the dimensions can be referenced usingRexInputRef
0 through N-1. -
getDimensionCount
int getDimensionCount()Returns the number of dimension columns.
-