class
Qdrant::Api::Collections::Shards
- Qdrant::Api::Collections::Shards
- Reference
- Object
Defined in:
qdrant-api/api/collections/shards.crConstructors
Instance Method Summary
-
#bulk_update(collection_name : String, create_sharding_key : Qdrant::Api::CreateShardingKey | Nil = nil, *, timeout : Int32 | Nil = nil) : Response(Qdrant::Api::CreateShardKey200Response)
Create shard key
-
#delete(collection_name : String, drop_sharding_key : Qdrant::Api::DropShardingKey | Nil = nil, *, timeout : Int32 | Nil = nil) : Response(Qdrant::Api::CreateShardKey200Response)
Delete shard key
-
#list(collection_name : String) : Response(Qdrant::Api::ListShardKeys200Response)
List shard keys
-
#snapshot(collection_name : String, shard_id : Int32) : Response(File)
Download shard snapshot Stream the current state of a shard as a snapshot file
-
#snapshots(collection_name : String, shard_id : Int32) : Response(Qdrant::Api::ListSnapshots200Response)
List shards snapshots for a collection Get list of snapshots for a shard of a collection
-
#snapshots_delete(collection_name : String, shard_id : Int32, snapshot_name : String, *, wait : Bool | Nil = nil) : Response(Qdrant::Api::RecoverFromUploadedSnapshot200Response)
Delete shard snapshot Delete snapshot of a shard for a collection
-
#snapshots_get(collection_name : String, shard_id : Int32, snapshot_name : String) : Response(File)
Download collection snapshot Download specified snapshot of a shard from a collection as a file
-
#snapshots_post(collection_name : String, shard_id : Int32, *, wait : Bool | Nil = nil) : Response(Qdrant::Api::CreateSnapshot200Response)
Create shard snapshot Create new snapshot of a shard for a collection
-
#snapshots_recover(collection_name : String, shard_id : Int32, shard_snapshot_recover : Qdrant::Api::ShardSnapshotRecover | Nil = nil, *, wait : Bool | Nil = nil) : Response(Qdrant::Api::RecoverFromUploadedSnapshot200Response)
Recover from a snapshot Recover shard of a local collection data from a snapshot.
-
#snapshots_upload(collection_name : String, shard_id : Int32, snapshot : File | Nil = nil, *, wait : Bool | Nil = nil, priority : Qdrant::Api::SnapshotPriority | Nil = nil, checksum : String | Nil = nil) : Response(Qdrant::Api::RecoverFromUploadedSnapshot200Response)
Recover shard from an uploaded snapshot Recover shard of a local collection from an uploaded snapshot.
Constructor Detail
Instance Method Detail
Create shard key
Delete shard key
List shard keys
Download shard snapshot Stream the current state of a shard as a snapshot file
List shards snapshots for a collection Get list of snapshots for a shard of a collection
Delete shard snapshot Delete snapshot of a shard for a collection
Download collection snapshot Download specified snapshot of a shard from a collection as a file
Create shard snapshot Create new snapshot of a shard for a collection
Recover from a snapshot Recover shard of a local collection data from a snapshot. This will overwrite any data, stored in this shard, for the collection.
Recover shard from an uploaded snapshot Recover shard of a local collection from an uploaded snapshot. This will overwrite any data, stored on this node, for the collection shard.