Interface FlinkMetadata.FilteredColumnInterval

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

public static interface FlinkMetadata.FilteredColumnInterval extends org.apache.calcite.rel.metadata.Metadata
Metadata about the interval of given column under the given filter argument 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.FilteredColumnInterval>
     
    static final Method
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ValueInterval
    getFilteredColumnInterval(int columnIndex, int filterArg)
    Returns the interval value of the given column under the given filter argument from a specified relational expression.

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

    rel
  • Field Details

  • Method Details

    • getFilteredColumnInterval

      ValueInterval getFilteredColumnInterval(int columnIndex, int filterArg)
      Returns the interval value of the given column under the given filter argument from a specified relational expression.
      Parameters:
      columnIndex - the index of the given column in a specified relational expression
      filterArg - the index of the filter argument, -1 when no filter argument existed
      Returns:
      the interval of the given column. Returns null if interval cannot be estimated, Returns [[NullValueInterval]] if column values does not contains any value except for null.