Package org.apache.calcite.rel.metadata
Class RelMdMeasure
java.lang.Object
org.apache.calcite.rel.metadata.RelMdMeasure
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.Measure>
Default implementations of the
BuiltInMetadata.Measure
metadata provider for the standard logical algebra.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Helpers forBuiltInMetadata.Measure.Context
.static class
Implementation of Context that delegates to another Context. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexpand
(RelSubset subset, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forRelSubset
; called via reflection.@Nullable RexNode
expand
(Aggregate aggregate, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forAggregate
; called via reflection.expand
(Filter filter, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forFilter
; called via reflection.@Nullable RexNode
expand
(Project project, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forProject
; called via reflection.expand
(RelNode rel, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Catch-all implementation forBuiltInMetadata.Measure.expand(int, BuiltInMetadata.Measure.Context)
, invoked using reflection.getDef()
isMeasure
(RelNode rel, RelMetadataQuery mq, int column) Catch-all implementation forBuiltInMetadata.Measure.isMeasure(int)
, invoked using reflection.
-
Field Details
-
SOURCE
-
-
Constructor Details
-
RelMdMeasure
public RelMdMeasure()
-
-
Method Details
-
getDef
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.Measure>
-
isMeasure
Catch-all implementation forBuiltInMetadata.Measure.isMeasure(int)
, invoked using reflection.- See Also:
-
expand
public RexNode expand(RelNode rel, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Catch-all implementation forBuiltInMetadata.Measure.expand(int, BuiltInMetadata.Measure.Context)
, invoked using reflection. -
expand
public RexNode expand(RelSubset subset, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forRelSubset
; called via reflection. -
expand
public RexNode expand(Filter filter, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forFilter
; called via reflection. -
expand
public @Nullable RexNode expand(Project project, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forProject
; called via reflection. -
expand
public @Nullable RexNode expand(Aggregate aggregate, RelMetadataQuery mq, int column, BuiltInMetadata.Measure.Context context) Refinesexpand
forAggregate
; called via reflection.
-