Class SetStatistics

    • Method Detail

      • setStatistics

        public UpdateStatistics setStatistics​(long snapshotId,
                                              StatisticsFile statisticsFile)
        Description copied from interface: UpdateStatistics
        Set the table's statistics file for given snapshot, replacing the previous statistics file for the snapshot if any exists.
        Specified by:
        setStatistics in interface UpdateStatistics
        this for method chaining
      • commit

        public void commit()
        Description copied from interface: PendingUpdate
        Apply 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:
        commit in interface PendingUpdate<java.util.List<StatisticsFile>>