public static interface BuiltInMetadata.PopulationSize extends Metadata
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BuiltInMetadata.PopulationSize.Handler
Handler API.
|
| Modifier and Type | Field and Description |
|---|---|
static MetadataDef<BuiltInMetadata.PopulationSize> |
DEF |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Double |
getPopulationSize(ImmutableBitSet groupKey)
Estimates the distinct row count in the original source for the given
groupKey, ignoring any filtering being applied by the expression. |
static final MetadataDef<BuiltInMetadata.PopulationSize> DEF
@Nullable Double getPopulationSize(ImmutableBitSet groupKey)
groupKey, ignoring any filtering being applied by the expression.
Typically, "original source" means base table, but for derived columns,
the estimate may come from a non-leaf rel such as a LogicalProject.groupKey - column mask representing the subset of columns for which
the row count will be determinedCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.