Package org.apache.calcite.rel.metadata
Class RelMdUniqueKeys
- java.lang.Object
-
- org.apache.calcite.rel.metadata.RelMdUniqueKeys
-
- All Implemented Interfaces:
MetadataHandler<BuiltInMetadata.UniqueKeys>
public class RelMdUniqueKeys extends java.lang.Object implements MetadataHandler<BuiltInMetadata.UniqueKeys>
RelMdUniqueKeys supplies a default implementation ofRelMetadataQuery.getUniqueKeys(org.apache.calcite.rel.RelNode)
for the standard logical algebra.
-
-
Field Summary
Fields Modifier and Type Field Description static RelMetadataProvider
SOURCE
-
Constructor Summary
Constructors Modifier Constructor Description private
RelMdUniqueKeys()
-
Method Summary
-
-
-
Field Detail
-
SOURCE
public static final RelMetadataProvider SOURCE
-
-
Method Detail
-
getDef
public MetadataDef<BuiltInMetadata.UniqueKeys> getDef()
- Specified by:
getDef
in interfaceMetadataHandler<BuiltInMetadata.UniqueKeys>
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Filter rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Sort rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Correlate rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Project rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Join rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(SemiJoin rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(Aggregate rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(SetOp rel, RelMetadataQuery mq, boolean ignoreNulls)
-
getUniqueKeys
public java.util.Set<ImmutableBitSet> getUniqueKeys(RelNode rel, RelMetadataQuery mq, boolean ignoreNulls)
-
-