Interface SnapshotMethods
- All Superinterfaces:
ClientSettings,io.metaloom.qdrant.client.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.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
-
listSnapshots
Get list of snapshots of the whole storage- Returns:
-
listSnapshots
default GrpcClientRequest<SnapshotsService.ListSnapshotsResponse> listSnapshots(String collectionName) Get list of snapshots for a collection.- Parameters:
collectionName- Name of the collection- Returns:
-
createSnapshot
Create new snapshot of the whole storage. -
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
-