Interface DataSource.RowCount

All Known Implementing Classes:
DataSource.RowCount.Estimate, DataSource.RowCount.Exact, DataSource.RowCount.Unknown
Enclosing class:
DataSource

public static sealed interface DataSource.RowCount permits DataSource.RowCount.Unknown, DataSource.RowCount.Estimate, DataSource.RowCount.Exact
Precision-aware row count. See DataSource.rowCount().
  • Method Details

    • asOptional

      OptionalLong asOptional()
      Returns the row count as a long, or OptionalLong.empty() when unknown.