Package org.apache.iceberg
Class SetPartitionStatistics
java.lang.Object
org.apache.iceberg.SetPartitionStatistics
- All Implemented Interfaces:
- PendingUpdate<List<PartitionStatisticsFile>>,- UpdatePartitionStatistics
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply()Apply the pending changes and return the uncommitted changes for validation.voidcommit()Apply the pending changes and commit.removePartitionStatistics(long snapshotId) Remove the table's partition statistics file for given snapshot.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 class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.PendingUpdateupdateEvent
- 
Constructor Details- 
SetPartitionStatistics
 
- 
- 
Method Details- 
setPartitionStatisticsDescription copied from interface:UpdatePartitionStatisticsSet the table's partition statistics file for given snapshot, replacing the previous partition statistics file for the snapshot if any exists. No-op if the provided file is null.- Specified by:
- setPartitionStatisticsin interface- UpdatePartitionStatistics
- Returns:
- this for method chaining
 
- 
removePartitionStatisticsDescription copied from interface:UpdatePartitionStatisticsRemove the table's partition statistics file for given snapshot.- Specified by:
- removePartitionStatisticsin interface- UpdatePartitionStatistics
- Returns:
- this for method chaining
 
- 
applyDescription copied from interface:PendingUpdateApply the pending changes and return the uncommitted changes for validation.This does not result in a permanent update. - Specified by:
- applyin interface- PendingUpdate<List<PartitionStatisticsFile>>
- Returns:
- the uncommitted changes that would be committed by calling PendingUpdate.commit()
 
- 
commitpublic void commit()Description copied from interface:PendingUpdateApply the pending changes and commit.Changes are committed by calling the underlying table's commit method. Once the commit is successful, the updated table will be refreshed. - Specified by:
- commitin interface- PendingUpdate<List<PartitionStatisticsFile>>
 
 
-