| 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<LookupInReplicaResult> |
Collection.lookupInAllReplicas(String id,
List<LookupInSpec> lookupInSpecs,
LookupInAllReplicasOptions options)
Reads all available or one replica and returns the results as a stream with custom options.
|
Flux<LookupInReplicaResult> |
ReactiveCollection.lookupInAllReplicas(String id,
List<LookupInSpec> lookupInSpecs,
LookupInAllReplicasOptions options)
Reads all available replicas, including the active, and returns the results as a flux.
|
CompletableFuture<List<CompletableFuture<LookupInReplicaResult>>> |
AsyncCollection.lookupInAllReplicas(String id,
List<LookupInSpec> specs,
LookupInAllReplicasOptions options)
Reads from replicas or the active node based on the options and returns the results as a list
of futures that might complete or fail.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupInAllReplicasOptions |
LookupInAllReplicasOptions.lookupInAllReplicasOptions() |
LookupInAllReplicasOptions |
LookupInAllReplicasOptions.serializer(JsonSerializer serializer)
Allows to specify a custom serializer that is used to decode the content of the result.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.