Package org.apache.calcite.rel.metadata
Class RelMdPopulationSize
java.lang.Object
org.apache.calcite.rel.metadata.RelMdPopulationSize
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.PopulationSize>
public class RelMdPopulationSize
extends Object
implements MetadataHandler<BuiltInMetadata.PopulationSize>
RelMdPopulationSize supplies a default implementation of
RelMetadataQuery.getPopulationSize(org.apache.calcite.rel.RelNode, org.apache.calcite.util.ImmutableBitSet) for the standard logical algebra.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDef()@Nullable DoublegetPopulationSize(Aggregate rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Exchange rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Filter rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Join rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Project rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Sort rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(TableModify rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(TableScan scan, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(Union rel, RelMetadataQuery mq, ImmutableBitSet groupKey) getPopulationSize(Values rel, RelMetadataQuery mq, ImmutableBitSet groupKey) @Nullable DoublegetPopulationSize(RelNode rel, RelMetadataQuery mq, ImmutableBitSet groupKey) Catch-all implementation forBuiltInMetadata.PopulationSize.getPopulationSize(ImmutableBitSet), invoked using reflection.
-
Field Details
-
SOURCE
-
-
Method Details
-
getDef
- Specified by:
getDefin interfaceMetadataHandler<BuiltInMetadata.PopulationSize>
-
getPopulationSize
public @Nullable Double getPopulationSize(TableScan scan, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
public @Nullable Double getPopulationSize(Filter rel, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
-
getPopulationSize
public @Nullable Double getPopulationSize(Exchange rel, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
public @Nullable Double getPopulationSize(TableModify rel, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
-
getPopulationSize
-
getPopulationSize
public @Nullable Double getPopulationSize(Aggregate rel, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
-
getPopulationSize
public @Nullable Double getPopulationSize(Project rel, RelMetadataQuery mq, ImmutableBitSet groupKey) -
getPopulationSize
public @Nullable Double getPopulationSize(RelNode rel, RelMetadataQuery mq, ImmutableBitSet groupKey) Catch-all implementation forBuiltInMetadata.PopulationSize.getPopulationSize(ImmutableBitSet), invoked using reflection.
-