Package org.apache.iceberg
Class BasePartitionStatistics
java.lang.Object
org.apache.iceberg.avro.SupportsIndexProjection
org.apache.iceberg.BasePartitionStatistics
- All Implemented Interfaces:
Serializable,PartitionStatistics,StructLike
- See Also:
-
Field Summary
Fields inherited from interface org.apache.iceberg.PartitionStatistics
DATA_FILE_COUNT, DATA_FILE_COUNT_POSITION, DATA_RECORD_COUNT, DATA_RECORD_COUNT_POSITION, DV_COUNT, DV_COUNT_POSITION, EMPTY_PARTITION_FIELD, EQUALITY_DELETE_FILE_COUNT, EQUALITY_DELETE_FILE_COUNT_POSITION, EQUALITY_DELETE_RECORD_COUNT, EQUALITY_DELETE_RECORD_COUNT_POSITION, LAST_UPDATED_AT, LAST_UPDATED_AT_POSITION, LAST_UPDATED_SNAPSHOT_ID, LAST_UPDATED_SNAPSHOT_ID_POSITION, PARTITION_POSITION, POSITION_DELETE_FILE_COUNT, POSITION_DELETE_FILE_COUNT_POSITION, POSITION_DELETE_RECORD_COUNT, POSITION_DELETE_RECORD_COUNT_POSITION, SPEC_ID, SPEC_ID_POSITION, TOTAL_DATA_FILE_SIZE_IN_BYTES, TOTAL_DATA_FILE_SIZE_IN_BYTES_POSITION, TOTAL_RECORD_COUNT, TOTAL_RECORD_COUNT_POSITION -
Method Summary
Modifier and TypeMethodDescriptionReturns the number of data files in the partitionReturns the number of data records in the partitiondvCount()Returns the number of delete vectors in the partitionReturns the number of equality delete files in the partitionReturns the number of equality delete records in the partitionprotected <T> TinternalGet(int pos, Class<T> javaClass) protected <T> voidinternalSet(int pos, T value) Returns the timestamp in milliseconds when the partition was last updatedReturns the ID of the snapshot that last updated this partitionReturns the partition of these partition statisticsReturns the number of positional delete files in the partitionReturns the number of positional delete records in the partition.specId()Returns the spec ID of the partition of these partition statisticsReturns the total size of data files in bytes in the partitionReturns the total number of records in the partitionMethods inherited from class org.apache.iceberg.avro.SupportsIndexProjection
get, set, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.StructLike
get, set, size
-
Method Details
-
partition
Description copied from interface:PartitionStatisticsReturns the partition of these partition statistics- Specified by:
partitionin interfacePartitionStatistics
-
specId
Description copied from interface:PartitionStatisticsReturns the spec ID of the partition of these partition statistics- Specified by:
specIdin interfacePartitionStatistics
-
dataRecordCount
Description copied from interface:PartitionStatisticsReturns the number of data records in the partition- Specified by:
dataRecordCountin interfacePartitionStatistics
-
dataFileCount
Description copied from interface:PartitionStatisticsReturns the number of data files in the partition- Specified by:
dataFileCountin interfacePartitionStatistics
-
totalDataFileSizeInBytes
Description copied from interface:PartitionStatisticsReturns the total size of data files in bytes in the partition- Specified by:
totalDataFileSizeInBytesin interfacePartitionStatistics
-
positionDeleteRecordCount
Description copied from interface:PartitionStatisticsReturns the number of positional delete records in the partition. Also includes dv record count as per spec- Specified by:
positionDeleteRecordCountin interfacePartitionStatistics
-
positionDeleteFileCount
Description copied from interface:PartitionStatisticsReturns the number of positional delete files in the partition- Specified by:
positionDeleteFileCountin interfacePartitionStatistics
-
equalityDeleteRecordCount
Description copied from interface:PartitionStatisticsReturns the number of equality delete records in the partition- Specified by:
equalityDeleteRecordCountin interfacePartitionStatistics
-
equalityDeleteFileCount
Description copied from interface:PartitionStatisticsReturns the number of equality delete files in the partition- Specified by:
equalityDeleteFileCountin interfacePartitionStatistics
-
totalRecords
Description copied from interface:PartitionStatisticsReturns the total number of records in the partition- Specified by:
totalRecordsin interfacePartitionStatistics
-
lastUpdatedAt
Description copied from interface:PartitionStatisticsReturns the timestamp in milliseconds when the partition was last updated- Specified by:
lastUpdatedAtin interfacePartitionStatistics
-
lastUpdatedSnapshotId
Description copied from interface:PartitionStatisticsReturns the ID of the snapshot that last updated this partition- Specified by:
lastUpdatedSnapshotIdin interfacePartitionStatistics
-
dvCount
Description copied from interface:PartitionStatisticsReturns the number of delete vectors in the partition- Specified by:
dvCountin interfacePartitionStatistics
-
internalGet
- Specified by:
internalGetin classSupportsIndexProjection
-
internalSet
protected <T> void internalSet(int pos, T value) - Specified by:
internalSetin classSupportsIndexProjection
-