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 |
|---|---|
Double |
getDistinctRowCount(ImmutableBitSet groupKey,
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
Double getDistinctRowCount(ImmutableBitSet groupKey, RexNode predicate)
groupKey - column mask representing group by columnspredicate - pre-filtered predicatesCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.