Class QdrantCreateCollectionOp
java.lang.Object
io.nosqlbench.adapter.qdrant.ops.QdrantBaseOp<io.qdrant.client.grpc.Collections.CreateCollection,io.qdrant.client.grpc.Collections.CollectionOperationResponse>
io.nosqlbench.adapter.qdrant.ops.QdrantCreateCollectionOp
- All Implemented Interfaces:
CycleOp<io.qdrant.client.grpc.Collections.CollectionOperationResponse>,LongFunction<io.qdrant.client.grpc.Collections.CollectionOperationResponse>
public class QdrantCreateCollectionOp
extends QdrantBaseOp<io.qdrant.client.grpc.Collections.CreateCollection,io.qdrant.client.grpc.Collections.CollectionOperationResponse>
-
Field Summary
Fields inherited from class io.nosqlbench.adapter.qdrant.ops.QdrantBaseOp
apiCall, client, logger, request -
Constructor Summary
ConstructorsConstructorDescriptionQdrantCreateCollectionOp(io.qdrant.client.QdrantClient client, io.qdrant.client.grpc.Collections.CreateCollection request) Create a newParsedOpencapsulating a call to the Qdrant create collection method. -
Method Summary
Modifier and TypeMethodDescriptionio.qdrant.client.grpc.Collections.CollectionOperationResponseapplyOp(long value) Methods inherited from class io.nosqlbench.adapter.qdrant.ops.QdrantBaseOp
apply, toString
-
Constructor Details
-
QdrantCreateCollectionOp
public QdrantCreateCollectionOp(io.qdrant.client.QdrantClient client, io.qdrant.client.grpc.Collections.CreateCollection request) Create a newParsedOpencapsulating a call to the Qdrant create collection method.- Parameters:
client- The associatedQdrantClientused to communicate with the databaserequest- TheCollections.CreateCollectionbuilt for this operation
-
-
Method Details
-
applyOp
public io.qdrant.client.grpc.Collections.CollectionOperationResponse applyOp(long value) - Specified by:
applyOpin classQdrantBaseOp<io.qdrant.client.grpc.Collections.CreateCollection,io.qdrant.client.grpc.Collections.CollectionOperationResponse>
-