Interface PartitionStatistics

All Superinterfaces:
StructLike
All Known Implementing Classes:
BasePartitionStatistics

public interface PartitionStatistics extends StructLike
Interface for partition statistics returned from a PartitionStatisticsScan.
  • Field Details

  • Method Details

    • schema

      static Schema schema(Types.StructType unifiedPartitionType, int formatVersion)
    • partition

      StructLike partition()
      Returns the partition of these partition statistics
    • specId

      Integer specId()
      Returns the spec ID of the partition of these partition statistics
    • dataRecordCount

      Long dataRecordCount()
      Returns the number of data records in the partition
    • dataFileCount

      Integer dataFileCount()
      Returns the number of data files in the partition
    • totalDataFileSizeInBytes

      Long totalDataFileSizeInBytes()
      Returns the total size of data files in bytes in the partition
    • positionDeleteRecordCount

      Long positionDeleteRecordCount()
      Returns the number of positional delete records in the partition. Also includes dv record count as per spec
    • positionDeleteFileCount

      Integer positionDeleteFileCount()
      Returns the number of positional delete files in the partition
    • equalityDeleteRecordCount

      Long equalityDeleteRecordCount()
      Returns the number of equality delete records in the partition
    • equalityDeleteFileCount

      Integer equalityDeleteFileCount()
      Returns the number of equality delete files in the partition
    • totalRecords

      Long totalRecords()
      Returns the total number of records in the partition
    • lastUpdatedAt

      Long lastUpdatedAt()
      Returns the timestamp in milliseconds when the partition was last updated
    • lastUpdatedSnapshotId

      Long lastUpdatedSnapshotId()
      Returns the ID of the snapshot that last updated this partition
    • dvCount

      Integer dvCount()
      Returns the number of delete vectors in the partition