Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.kv |
Namespace for various kv-service related classes.
|
Modifier and Type | Method and Description |
---|---|
Stream<ScanResult> |
Collection.scan(ScanType scanType,
ScanOptions options)
Returns a stream of
ScanResults performing a Key-Value range scan with custom options. |
Flux<ScanResult> |
ReactiveCollection.scan(ScanType scanType,
ScanOptions options)
Returns a stream of
ScanResults performing a Key-Value range scan with custom options. |
CompletableFuture<List<ScanResult>> |
AsyncCollection.scan(ScanType scanType,
ScanOptions options)
Returns a stream of
ScanResults performing a Key-Value range scan with custom options. |
Modifier and Type | Method and Description |
---|---|
ScanOptions |
ScanOptions.batchByteLimit(int batchByteLimit)
Allows to limit the maximum amount of bytes that are sent from the server to the client on each partition batch.
|
ScanOptions |
ScanOptions.batchItemLimit(int batchItemLimit)
Allows to limit the maximum amount of documents that are sent from the server to the client on each partition batch.
|
ScanOptions |
ScanOptions.consistentWith(MutationState mutationState) |
ScanOptions |
ScanOptions.idsOnly(boolean idsOnly)
If set to true, the content of the document is not included in the results.
|
static ScanOptions |
ScanOptions.scanOptions() |
ScanOptions |
ScanOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.