Package com.couchbase.client.core.kv
Class RangeScanOrchestrator
java.lang.Object
com.couchbase.client.core.kv.RangeScanOrchestrator
Main entry point from higher level languages to perform KV range scans.
This class is meant as a low-level abstraction which is to be consumed from the higher level language bindings and not directly by the user. See the respective documentation for each language binding (java, scala, kotlin) for example usage.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionRangeScanOrchestrator(Core core, CollectionIdentifier collectionIdentifier) Creates a newRangeScanOrchestratorwhich can be shared across calls. -
Method Summary
Modifier and TypeMethodDescriptionrangeScan(CoreRangeScan rangeScan, CoreScanOptions options) Performs a range scan between a start and an end term (reactive).samplingScan(CoreSamplingScan samplingScan, CoreScanOptions options) Performs a sampling scan (reactive).
-
Field Details
-
RANGE_SCAN_DEFAULT_BATCH_BYTE_LIMIT
public static final int RANGE_SCAN_DEFAULT_BATCH_BYTE_LIMIT- See Also:
-
RANGE_SCAN_DEFAULT_BATCH_ITEM_LIMIT
public static final int RANGE_SCAN_DEFAULT_BATCH_ITEM_LIMIT- See Also:
-
-
Constructor Details
-
RangeScanOrchestrator
Creates a newRangeScanOrchestratorwhich can be shared across calls.- Parameters:
core- the core to perform ops against.collectionIdentifier- the pointer to the right collection to use.
-
-
Method Details
-
rangeScan
Performs a range scan between a start and an end term (reactive).- Parameters:
rangeScan-options-- Returns:
- a
Fluxof returned items, or a failed flux during errors.
-
samplingScan
Performs a sampling scan (reactive).- Parameters:
samplingScan-options-- Returns:
- a
Fluxof returned items, or a failed flux during errors.
-