Interface SnapshotMethods
- All Known Subinterfaces:
QDrantHttpClient
- All Known Implementing Classes:
AbstractQDrantClient,QDrantHttpClientImpl
public interface SnapshotMethods
-
Method Summary
Modifier and TypeMethodDescriptioncreateCollectionSnapshot(String collectionName) Create new snapshot for a collection.Create new snapshot of the whole storage.downloadCollectionSnapshot(String collectionName, String snapshotName) Download specified snapshot from a collection as a file.downloadStorageSnapshot(String snapshotName) Download specified snapshot of the whole storage as a file.listCollectionSnapshots(String collectionName) Get list of snapshots for a collectionGet list of snapshots of the whole storage.recoverSnapshot(String collectionName, SnapshotRecoverRequest request) Recover local collection data from a snapshot.
-
Method Details
-
listCollectionSnapshots
Get list of snapshots for a collection- Parameters:
collectionName-- Returns:
-
recoverSnapshot
QDrantClientRequest<GenericBooleanStatusResponse> recoverSnapshot(String collectionName, SnapshotRecoverRequest request) Recover local collection data from a snapshot. This will overwrite any data, stored on this node, for the collection.- Parameters:
collectionName-request-- Returns:
-
createCollectionSnapshot
Create new snapshot for a collection.- Parameters:
collectionName-- Returns:
-
downloadCollectionSnapshot
QDrantClientRequest<QDrantBinaryResponse> downloadCollectionSnapshot(String collectionName, String snapshotName) Download specified snapshot from a collection as a file.- Parameters:
collectionName-snapshotName-- Returns:
-
listStorageSnapshots
QDrantClientRequest<SnapshotListResponse> listStorageSnapshots()Get list of snapshots of the whole storage.- Returns:
-
createStorageSnapshot
QDrantClientRequest<SnapshotCreateResponse> createStorageSnapshot()Create new snapshot of the whole storage.- Returns:
-
downloadStorageSnapshot
Download specified snapshot of the whole storage as a file.- Parameters:
snapshotName-- Returns:
-