Interface BuiltInMetadata.MinRowCount

All Superinterfaces:
Metadata
Enclosing class:
BuiltInMetadata

public static interface BuiltInMetadata.MinRowCount extends Metadata
Metadata about the minimum number of rows returned by a relational expression.
  • Nested Class Summary

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

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Double
    Estimates the minimum number of rows which will be returned by a relational expression.

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

    rel
  • Field Details

  • Method Details

    • getMinRowCount

      @Nullable Double getMinRowCount()
      Estimates the minimum number of rows which will be returned by a relational expression.

      The default implementation for this query returns 0, but metadata providers can override this with their own cost models.

      Returns:
      lower bound on the number of rows returned