public static interface BuiltInMetadata.UniqueKeys extends Metadata
| Modifier and Type | Method and Description |
|---|---|
Set<ImmutableBitSet> |
getUniqueKeys(boolean ignoreNulls)
Determines the set of unique minimal keys for this expression.
|
Set<ImmutableBitSet> getUniqueKeys(boolean ignoreNulls)
ImmutableBitSet, where
each bit position represents a 0-based output column ordinal.
Note that RelNode.isDistinct() should return true if and
only if at least one key is known.
Nulls can be ignored if the relational expression has filtered out null values.
ignoreNulls - if true, ignore null values when determining
whether the keys are uniqueCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.