Interface BuiltInMetadata.MaxRowCount

All Superinterfaces:
Metadata
Enclosing class:
BuiltInMetadata

public static interface BuiltInMetadata.MaxRowCount extends Metadata
Metadata about the maximum 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 max 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

    • getMaxRowCount

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

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

      Returns:
      upper bound on the number of rows returned