Package org.apache.iceberg
Class PartitionStats
java.lang.Object
org.apache.iceberg.PartitionStats
- All Implemented Interfaces:
StructLike
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendStats
(PartitionStats entry) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0int
long
void
deletedEntry
(Snapshot snapshot) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0int
dvCount()
int
long
<T> T
void
liveEntry
(ContentFile<?> file, Snapshot snapshot) Deprecated.since 1.10.0, visibility will be reduced in 1.11.0int
long
<T> void
set
(int pos, T value) int
size()
int
specId()
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
- theContentFile
from 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:
size
in interfaceStructLike
-
get
- Specified by:
get
in interfaceStructLike
-
set
public <T> void set(int pos, T value) - Specified by:
set
in interfaceStructLike
-