Package org.apache.iceberg
Class PartitionStats
java.lang.Object
org.apache.iceberg.PartitionStats
- All Implemented Interfaces:
StructLike
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
specId
public int specId() -
dataRecordCount
public long dataRecordCount() -
dataFileCount
public int dataFileCount() -
totalDataFileSizeInBytes
public long totalDataFileSizeInBytes() -
positionDeleteRecordCount
public long positionDeleteRecordCount() -
positionDeleteFileCount
public int positionDeleteFileCount() -
equalityDeleteRecordCount
public long equalityDeleteRecordCount() -
equalityDeleteFileCount
public int equalityDeleteFileCount() -
totalRecords
-
lastUpdatedAt
-
lastUpdatedSnapshotId
-
dvCount
public int dvCount() -
liveEntry
Deprecated.since 1.10.0, visibility will be reduced in 1.11.0Updates the partition stats from the data/delete file.- Parameters:
file- theContentFilefrom the manifest entry.snapshot- the snapshot corresponding to the live entry.
-
deletedEntry
Deprecated.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.
-
appendStats
Deprecated.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.
-
size
public int size()- Specified by:
sizein interfaceStructLike
-
get
- Specified by:
getin interfaceStructLike
-
set
public <T> void set(int pos, T value) - Specified by:
setin interfaceStructLike
-