Interface UpdateStatistics

All Superinterfaces:
PendingUpdate<List<StatisticsFile>>
All Known Implementing Classes:
SetStatistics

public interface UpdateStatistics extends PendingUpdate<List<StatisticsFile>>
API for updating statistics files in a table.
  • Method Details

    • setStatistics

      @Deprecated UpdateStatistics setStatistics(long snapshotId, StatisticsFile statisticsFile)
      Deprecated.
      since 1.8.0, will be removed 1.9.0 or 2.0.0, use setStatistics(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
    • setStatistics

      default UpdateStatistics setStatistics(StatisticsFile statisticsFile)
      Set the table's statistics file for given snapshot, replacing the previous statistics file for the snapshot if any exists. The snapshot id of the statistics file will be used.
      Returns:
      this for method chaining
    • removeStatistics

      UpdateStatistics removeStatistics(long snapshotId)
      Remove the table's statistics file for given snapshot.
      Returns:
      this for method chaining