Interface UpdateStatistics

    • Method Detail

      • setStatistics

        @Deprecated
        default UpdateStatistics setStatistics​(long snapshotId,
                                               StatisticsFile statisticsFile)
        Deprecated.
        since 1.8.0, will be removed in 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