Package org.apache.iceberg
Interface UpdatePartitionStatistics
- All Superinterfaces:
PendingUpdate<List<PartitionStatisticsFile>>
- All Known Implementing Classes:
SetPartitionStatistics
API for updating partition statistics files in a table.
-
Method Summary
Modifier and TypeMethodDescriptionremovePartitionStatistics(long snapshotId) Remove the table's partition statistics file for given snapshot.setPartitionStatistics(PartitionStatisticsFile partitionStatisticsFile) Set the table's partition statistics file for given snapshot, replacing the previous partition statistics file for the snapshot if any exists.Methods inherited from interface org.apache.iceberg.PendingUpdate
apply, commit, updateEvent
-
Method Details
-
setPartitionStatistics
Set the table's partition statistics file for given snapshot, replacing the previous partition statistics file for the snapshot if any exists.- Returns:
- this for method chaining
-
removePartitionStatistics
Remove the table's partition statistics file for given snapshot.- Returns:
- this for method chaining
-