Package org.apache.iceberg
Class PartitionStats
java.lang.Object
org.apache.iceberg.PartitionStats
- All Implemented Interfaces:
- StructLike
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendStats(PartitionStats entry) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0intlongvoiddeletedEntry(Snapshot snapshot) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0intdvCount()intlong<T> TvoidliveEntry(ContentFile<?> file, Snapshot snapshot) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0intlong<T> voidset(int pos, T value) intsize()intspecId()long
- 
Constructor Details- 
PartitionStats
 
- 
- 
Method Details- 
partition
- 
specIdpublic int specId()
- 
dataRecordCountpublic long dataRecordCount()
- 
dataFileCountpublic int dataFileCount()
- 
totalDataFileSizeInBytespublic long totalDataFileSizeInBytes()
- 
positionDeleteRecordCountpublic long positionDeleteRecordCount()
- 
positionDeleteFileCountpublic int positionDeleteFileCount()
- 
equalityDeleteRecordCountpublic long equalityDeleteRecordCount()
- 
equalityDeleteFileCountpublic int equalityDeleteFileCount()
- 
totalRecords
- 
lastUpdatedAt
- 
lastUpdatedSnapshotId
- 
dvCountpublic int dvCount()
- 
liveEntryDeprecated.since 1.10.0, visibility will be reduced in 1.11.0Updates the partition stats from the data/delete file.- Parameters:
- file- the- ContentFilefrom the manifest entry.
- snapshot- the snapshot corresponding to the live entry.
 
- 
deletedEntryDeprecated.since 1.10.0, visibility will be reduced in 1.11.0Updates the modified time and snapshot ID for the deleted manifest entry.- Parameters:
- snapshot- the snapshot corresponding to the deleted manifest entry.
 
- 
appendStatsDeprecated.since 1.10.0, visibility will be reduced in 1.11.0Appends statistics from given entry to current entry.- Parameters:
- entry- the entry from which statistics will be sourced.
 
- 
sizepublic int size()- Specified by:
- sizein interface- StructLike
 
- 
get- Specified by:
- getin interface- StructLike
 
- 
setpublic <T> void set(int pos, T value) - Specified by:
- setin interface- StructLike
 
 
-