Interface Rollback

    • Method Detail

      • toSnapshotId

        @Deprecated
        Rollback toSnapshotId​(long snapshotId)
        Roll this table's data back to a specific Snapshot identified by id.
        Parameters:
        snapshotId - long id of the snapshot to roll back table data to
        Returns:
        this for method chaining
        Throws:
        java.lang.IllegalArgumentException - If the table has no snapshot with the given id
      • toSnapshotAtTime

        @Deprecated
        Rollback toSnapshotAtTime​(long timestampMillis)
        Deprecated.
        Roll this table's data back to the last Snapshot before the given timestamp.
        Parameters:
        timestampMillis - a long timestamp, as returned by System.currentTimeMillis()
        Returns:
        this for method chaining
        Throws:
        java.lang.IllegalArgumentException - If the table has no old snapshot before the given timestamp