Package org.apache.iceberg
Interface UpdatePartitionStatistics
-
- All Superinterfaces:
PendingUpdate<java.util.List<PartitionStatisticsFile>>
- All Known Implementing Classes:
SetPartitionStatistics
public interface UpdatePartitionStatistics extends PendingUpdate<java.util.List<PartitionStatisticsFile>>
API for updating partition statistics files in a table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePartitionStatisticsremovePartitionStatistics(long snapshotId)Remove the table's partition statistics file for given snapshot.UpdatePartitionStatisticssetPartitionStatistics(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 Detail
-
setPartitionStatistics
UpdatePartitionStatistics 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.- Returns:
- this for method chaining
-
removePartitionStatistics
UpdatePartitionStatistics removePartitionStatistics(long snapshotId)
Remove the table's partition statistics file for given snapshot.- Returns:
- this for method chaining
-
-