Package org.apache.iceberg
Interface UpdateStatistics
-
- All Superinterfaces:
PendingUpdate<java.util.List<StatisticsFile>>
- All Known Implementing Classes:
SetStatistics
public interface UpdateStatistics extends PendingUpdate<java.util.List<StatisticsFile>>
API for updating statistics files in a table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateStatistics
removeStatistics(long snapshotId)
Remove the table's statistics file for given snapshot.UpdateStatistics
setStatistics(long snapshotId, StatisticsFile statisticsFile)
Set the table's statistics file for given snapshot, replacing the previous statistics file for the snapshot if any exists.-
Methods inherited from interface org.apache.iceberg.PendingUpdate
apply, commit, updateEvent
-
-
-
-
Method Detail
-
setStatistics
UpdateStatistics setStatistics(long snapshotId, StatisticsFile statisticsFile)
Set the table's statistics file for given snapshot, replacing the previous statistics file for the snapshot if any exists.- Returns:
- this for method chaining
-
removeStatistics
UpdateStatistics removeStatistics(long snapshotId)
Remove the table's statistics file for given snapshot.- Returns:
- this for method chaining
-
-