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