Interface StatisticsFile

All Known Implementing Classes:
GenericStatisticsFile

public interface StatisticsFile
Represents a statistics file in the Puffin format, that can be used to read table data more efficiently.

Statistics are informational. A reader can choose to ignore statistics information. Statistics support is not required to read the table correctly.

  • Method Summary

    Modifier and Type
    Method
    Description
    List of statistics contained in the file.
    long
    Size of the Puffin footer.
    long
    Size of the file
    Returns fully qualified path to the file, suitable for constructing a Hadoop Path.
    long
    ID of the Iceberg table's snapshot the statistics were computed from.
  • Method Details

    • snapshotId

      long snapshotId()
      ID of the Iceberg table's snapshot the statistics were computed from.
    • path

      String path()
      Returns fully qualified path to the file, suitable for constructing a Hadoop Path. Never null.
    • fileSizeInBytes

      long fileSizeInBytes()
      Size of the file
    • fileFooterSizeInBytes

      long fileFooterSizeInBytes()
      Size of the Puffin footer.
    • blobMetadata

      List<BlobMetadata> blobMetadata()
      List of statistics contained in the file. Never null.