Package org.apache.iceberg
Interface UpdateStatistics
- All Superinterfaces:
PendingUpdate<List<StatisticsFile>>
- All Known Implementing Classes:
SetStatistics
API for updating statistics files in a table.
-
Method Summary
Modifier and TypeMethodDescriptionremoveStatistics
(long snapshotId) Remove the table's statistics file for given snapshot.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 Details
-
setStatistics
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
Remove the table's statistics file for given snapshot.- Returns:
- this for method chaining
-