Class QdrantOpMapper
java.lang.Object
io.nosqlbench.adapter.qdrant.QdrantOpMapper
- All Implemented Interfaces:
OpMapper<QdrantBaseOp<?,?>, QdrantSpace>
-
Constructor Summary
ConstructorsConstructorDescriptionQdrantOpMapper(QdrantDriverAdapter adapter) Create a new QdrantOpMapper implementing theOpMapperinterface. -
Method Summary
Modifier and TypeMethodDescriptionOpDispenser<QdrantBaseOp<?, ?>> apply(NBComponent adapterC, ParsedOp op, LongFunction<QdrantSpace> spaceF) Given an instance of aParsedOpreturns the appropriateQdrantBaseOpDispensersubclass
-
Constructor Details
-
QdrantOpMapper
Create a new QdrantOpMapper implementing theOpMapperinterface.- Parameters:
adapter- The associatedQdrantDriverAdapter
-
-
Method Details
-
apply
public OpDispenser<QdrantBaseOp<?,?>> apply(NBComponent adapterC, ParsedOp op, LongFunction<QdrantSpace> spaceF) Given an instance of aParsedOpreturns the appropriateQdrantBaseOpDispensersubclass- Specified by:
applyin interfaceOpMapper<QdrantBaseOp<?,?>, QdrantSpace> - Parameters:
adapterC-op- TheParsedOpto be evaluatedspaceF-- Returns:
- The correct
QdrantBaseOpDispensersubclass based on the op type
-