Class QdrantBaseOpDispenser<REQUEST,RESULT>
java.lang.Object
io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
io.nosqlbench.nb.api.components.core.NBBaseComponent
io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser<QdrantBaseOp<?,?>,QdrantSpace>
io.nosqlbench.adapter.qdrant.opdispensers.QdrantBaseOpDispenser<REQUEST,RESULT>
- All Implemented Interfaces:
OpDispenser<QdrantBaseOp<?,,?>> OpResultTracker,NBComponent,NBComponentAdvisors,NBComponentEvents,NBComponentMetrics,NBComponentProps,NBComponentServices,NBComponentTimeline,NBProviderSearch,NBTokenWords,NBLabeledElement,AutoCloseable,LongFunction<QdrantBaseOp<?,?>>
- Direct Known Subclasses:
QdrantCollectionExistsOpDispenser,QdrantCollectionInfoOpDispenser,QdrantCountPointsOpDispenser,QdrantCreateCollectionOpDispenser,QdrantCreatePayloadIndexOpDispenser,QdrantDeleteCollectionOpDispenser,QdrantListCollectionAliasesOpDispenser,QdrantListCollectionsOpDispenser,QdrantListSnapshotsOpDispenser,QdrantSearchPointsOpDispenser,QdrantUpsertPointsOpDispenser
public abstract class QdrantBaseOpDispenser<REQUEST,RESULT>
extends BaseOpDispenser<QdrantBaseOp<?,?>,QdrantSpace>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
NBLabeledElement.BasicLabeledElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LongFunction<io.qdrant.client.QdrantClient> protected final LongFunction<QdrantSpace> Fields inherited from class io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser
EXPECTED_RESULT, logger, spaceF, START_TIMERS, STOP_TIMERS, VERIFIER, VERIFIER_IMPORTS, VERIFIER_INIT, verifierTimerFields inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
bufferOrphanedMetrics, closed_ns, error, errored_ns, metricsBuffer, parent, started_epoch_ms, started_ns, state, teardown_nsFields inherited from interface io.nosqlbench.nb.api.components.core.NBComponent
EMPTY_COMPONENTFields inherited from interface io.nosqlbench.nb.api.components.core.NBComponentProps
HDRDIGITS, SUMMARYFields inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
EMPTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQdrantBaseOpDispenser(QdrantDriverAdapter adapter, ParsedOp op, LongFunction<String> targetF) -
Method Summary
Modifier and TypeMethodDescriptionabstract LongFunction<QdrantBaseOp<REQUEST, RESULT>> createOpFunc(LongFunction<REQUEST> paramF, LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF) protected LongFunction<io.qdrant.client.grpc.Points.Filter.Builder> Builds the completePoints.Filter.Builderfrom theParsedOpgetOp(long cycle) This method should do all the work of creating an operation that is executable by some other caller.abstract LongFunction<REQUEST> getParamFunc(LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF) Methods inherited from class io.nosqlbench.adapters.api.activityimpl.BaseOpDispenser
apply, getLabels, getOpName, getVerifier, onError, onStart, onSuccessMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponent
addAdvisor, addMetricsCloseable, attachChild, beforeDetach, close, create, detachChild, find, findParentService, getAdvisors, getChildren, getComponentOnlyLabels, getComponentProp, getComponentState, getNanosSinceStart, getParent, getTokens, nanosof_close, nanosof_error, nanosof_start, nanosof_teardown, onError, onEvent, reportExecutionMetric, setComponentProp, started_epoch_ms, teardown, toStringMethods inherited from class io.nosqlbench.nb.api.components.core.NBBaseComponentMetrics
addComponentMetric, addListener, findComponentMetrics, findComponentMetrics, getComponentMetric, getComponentMetrics, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentAdvisors
getAdvisorResultsMethods inherited from interface io.nosqlbench.nb.api.components.core.NBComponentMetrics
addComponentMetric, findComponentMetrics, findComponentMetrics, findOneComponentMetric, findOneComponentMetric, getComponentMetric, getComponentMetricsMethods inherited from interface io.nosqlbench.nb.api.labels.NBLabeledElement
description
-
Field Details
-
qdrantSpaceFunction
-
clientFunction
-
-
Constructor Details
-
QdrantBaseOpDispenser
protected QdrantBaseOpDispenser(QdrantDriverAdapter adapter, ParsedOp op, LongFunction<String> targetF)
-
-
Method Details
-
getParamFunc
public abstract LongFunction<REQUEST> getParamFunc(LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF) -
createOpFunc
public abstract LongFunction<QdrantBaseOp<REQUEST,RESULT>> createOpFunc(LongFunction<REQUEST> paramF, LongFunction<io.qdrant.client.QdrantClient> clientF, ParsedOp op, LongFunction<String> targetF) -
getOp
Description copied from interface:OpDispenserThis method should do all the work of creating an operation that is executable by some other caller. The value produced by the apply method should not require additional processing if a caller wants to execute the operation multiple times, as for retries.- Parameters:
cycle- The cycle number which serves as the seed for any generated op fields to be bound into an operation.- Returns:
- an executable operation
-
getFilterFromOp
Builds the completePoints.Filter.Builderfrom theParsedOp- Returns:
LongFunction<Filter.Builder>- See Also:
-