Package org.apache.calcite.rel.metadata
Class RelMdMeasure.DelegatingContext
java.lang.Object
org.apache.calcite.rel.metadata.RelMdMeasure.DelegatingContext
- All Implemented Interfaces:
BuiltInMetadata.Measure.Context
- Enclosing class:
RelMdMeasure
public abstract static class RelMdMeasure.DelegatingContext
extends Object
implements BuiltInMetadata.Measure.Context
Implementation of Context that delegates to another Context.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of dimension columns.Returns a (conjunctive) list of filters.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.rel.metadata.BuiltInMetadata.Measure.Context
getRexBuilder, getTypeFactory
-
Field Details
-
context
-
-
Constructor Details
-
DelegatingContext
-
-
Method Details
-
getRelBuilder
- Specified by:
getRelBuilderin interfaceBuiltInMetadata.Measure.Context
-
getFilters
Description copied from interface:BuiltInMetadata.Measure.ContextReturns 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.- Specified by:
getFiltersin interfaceBuiltInMetadata.Measure.Context
-
getDimensionCount
public int getDimensionCount()Description copied from interface:BuiltInMetadata.Measure.ContextReturns the number of dimension columns.- Specified by:
getDimensionCountin interfaceBuiltInMetadata.Measure.Context
-