public class RollbackHelper extends Object
Table.rollbackTo(long)
including utils to clean snapshots.Constructor and Description |
---|
RollbackHelper(SnapshotManager snapshotManager,
TagManager tagManager,
FileIO fileIO,
SnapshotDeletion snapshotDeletion,
ChangelogDeletion changelogDeletion,
TagDeletion tagDeletion) |
Modifier and Type | Method and Description |
---|---|
void |
cleanLargerThan(Snapshot retainedSnapshot)
Clean snapshots and tags whose id is larger than given snapshot's.
|
public RollbackHelper(SnapshotManager snapshotManager, TagManager tagManager, FileIO fileIO, SnapshotDeletion snapshotDeletion, ChangelogDeletion changelogDeletion, TagDeletion tagDeletion)
public void cleanLargerThan(Snapshot retainedSnapshot)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.