Class AzureAISearchOpMapper
java.lang.Object
io.nosqlbench.adapter.azureaisearch.AzureAISearchOpMapper
- All Implemented Interfaces:
OpMapper<AzureAISearchBaseOp<?,?>, AzureAISearchSpace>
public class AzureAISearchOpMapper
extends Object
implements OpMapper<AzureAISearchBaseOp<?,?>,AzureAISearchSpace>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(NBComponent adapterC, ParsedOp op, LongFunction<AzureAISearchSpace> spaceF) Given an instance of aParsedOpreturns the appropriateAzureAISearchBaseOpDispensersubclass.
-
Constructor Details
-
AzureAISearchOpMapper
Create a newAzureAISearchOpMapperimplementing theOpMapper. interface.- Parameters:
adapter- The associatedAzureAISearchDriverAdapter
-
-
Method Details
-
apply
public OpDispenser<AzureAISearchBaseOp<?,?>> apply(NBComponent adapterC, ParsedOp op, LongFunction<AzureAISearchSpace> spaceF) Given an instance of aParsedOpreturns the appropriateAzureAISearchBaseOpDispensersubclass.- Specified by:
applyin interfaceOpMapper<AzureAISearchBaseOp<?,?>, AzureAISearchSpace> - Parameters:
adapterC-op- TheParsedOpto be evaluatedspaceF-- Returns:
- The correct
AzureAISearchBaseOpDispensersubclass based on the op type
-