Package org.apache.calcite.rel.metadata
Interface BuiltInMetadata.DistinctRowCount.Handler
- All Superinterfaces:
MetadataHandler<BuiltInMetadata.DistinctRowCount>
- Enclosing interface:
BuiltInMetadata.DistinctRowCount
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface BuiltInMetadata.DistinctRowCount.Handler
extends MetadataHandler<BuiltInMetadata.DistinctRowCount>
Handler API.
-
Method Summary
Modifier and TypeMethodDescriptiongetDef()
@Nullable Double
getDistinctRowCount
(RelNode r, RelMetadataQuery mq, ImmutableBitSet groupKey, @Nullable RexNode predicate)
-
Method Details
-
getDistinctRowCount
@Nullable Double getDistinctRowCount(RelNode r, RelMetadataQuery mq, ImmutableBitSet groupKey, @Nullable RexNode predicate) -
getDef
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.DistinctRowCount>
-