public static interface BuiltInMetadata.DistinctRowCount extends Metadata
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BuiltInMetadata.DistinctRowCount.Handler
Handler API.
|
| Modifier and Type | Field and Description |
|---|---|
static MetadataDef<BuiltInMetadata.DistinctRowCount> |
DEF |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Double |
getDistinctRowCount(ImmutableBitSet groupKey,
@Nullable RexNode predicate)
Estimates the number of rows which would be produced by a GROUP BY on the
set of columns indicated by groupKey, where the input to the GROUP BY has
been pre-filtered by predicate.
|
static final MetadataDef<BuiltInMetadata.DistinctRowCount> DEF
@Nullable Double getDistinctRowCount(ImmutableBitSet groupKey, @Nullable RexNode predicate)
groupKey - column mask representing group by columnspredicate - pre-filtered predicatesCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.