Interface FlinkMetadata.UniqueGroups

All Superinterfaces:
org.apache.calcite.rel.metadata.Metadata
Enclosing class:
FlinkMetadata

public static interface FlinkMetadata.UniqueGroups extends org.apache.calcite.rel.metadata.Metadata
Metadata about the (minimum) unique groups of the given columns from a specified relational expression.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Handler API.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.calcite.rel.metadata.MetadataDef<FlinkMetadata.UniqueGroups>
     
    static final Method
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.util.ImmutableBitSet
    getUniqueGroups(org.apache.calcite.util.ImmutableBitSet columns)
    Returns the (minimum) unique groups of the given columns from a specified relational expression.

    Methods inherited from interface org.apache.calcite.rel.metadata.Metadata

    rel
  • Field Details

  • Method Details

    • getUniqueGroups

      org.apache.calcite.util.ImmutableBitSet getUniqueGroups(org.apache.calcite.util.ImmutableBitSet columns)
      Returns the (minimum) unique groups of the given columns from a specified relational expression.
      Parameters:
      columns - the given columns in a specified relational expression. The given columns should not be null.
      Returns:
      the (minimum) unique columns which should be a sub-collection of the given columns, and should not be null or empty. If none unique columns can be found, return the given columns.