Interface SnapshotMethods
- All Superinterfaces:
ClientSettings,CommonSettings
- All Known Subinterfaces:
QDrantGRPCClient
- All Known Implementing Classes:
AbstractQDrantGRPCClient,QDrantGRPCClientImpl
-
Method Summary
Modifier and TypeMethodDescriptionCreate new snapshot of the whole storage.createSnapshot(String collectionName) Create new snapshot for a collection.deleteCollectionSnapshot(String collectionName, String snapshotName) Delete a collection snapshot.deleteSnapshot(String snapshotName) Delete a storage snapshot.Get list of snapshots of the whole storagelistSnapshots(String collectionName) Get list of snapshots for a collection.Methods inherited from interface io.metaloom.qdrant.client.ClientSettings
channel, requestMethods inherited from interface io.metaloom.qdrant.client.CommonSettings
getConnectTimeout, getHostname, getPort, getReadTimeout, getWriteTimeout
-
Method Details
-
createSnapshot
Create new snapshot of the whole storage. -
listSnapshots
Get list of snapshots of the whole storage- Returns:
-
deleteSnapshot
default GrpcClientRequest<SnapshotsService.DeleteSnapshotResponse> deleteSnapshot(String snapshotName) Delete a storage snapshot.- Parameters:
snapshotName-- Returns:
-
createSnapshot
default GrpcClientRequest<SnapshotsService.CreateSnapshotResponse> createSnapshot(String collectionName) Create new snapshot for a collection.- Parameters:
collectionName- Name of the collection for which to create a snapshot
-
listSnapshots
default GrpcClientRequest<SnapshotsService.ListSnapshotsResponse> listSnapshots(String collectionName) Get list of snapshots for a collection.- Parameters:
collectionName- Name of the collection- Returns:
-
deleteCollectionSnapshot
default GrpcClientRequest<SnapshotsService.DeleteSnapshotResponse> deleteCollectionSnapshot(String collectionName, String snapshotName) Delete a collection snapshot.- Parameters:
collectionName-snapshotName-- Returns:
-