Interface SnapshotFileSystem
- All Known Implementing Classes:
EncryptedSnapshotFileSystem,LocalSnapshotFileSystem
public interface SnapshotFileSystem
Class representing the file structure of a Snapshot.
-
Method Summary
Modifier and TypeMethodDescriptionavailablePartitions(int tableId) Returns a set of partition IDs available in this snapshot for the given table.voiddelete()Removes all data belonging to this Snapshot.partitionFile(int tableId, int partitionId) Returns the path to the Partition file of this Snapshot.Returns the snapshot identifier.Returns the path to the Meta file of this Snapshot.
-
Method Details
-
snapshotId
UUID snapshotId()Returns the snapshot identifier. -
snapshotMeta
SnapshotMetaPath snapshotMeta()Returns the path to the Meta file of this Snapshot. -
partitionFile
Returns the path to the Partition file of this Snapshot. -
availablePartitions
Returns a set of partition IDs available in this snapshot for the given table. -
delete
void delete()Removes all data belonging to this Snapshot.
-