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 |
---|---|
LookupInReplicaResult |
Collection.lookupInAnyReplica(String id,
List<LookupInSpec> lookupInSpecs)
Reads all available replicas, and returns the first found.
|
LookupInReplicaResult |
Collection.lookupInAnyReplica(String id,
List<LookupInSpec> lookupInSpecs,
LookupInAnyReplicaOptions options)
Reads all available replicas, and returns the first found with custom options.
|
Modifier and Type | Method and Description |
---|---|
Stream<LookupInReplicaResult> |
Collection.lookupInAllReplicas(String id,
List<LookupInSpec> lookupInSpecs)
Reads from all available replicas and the active node and returns the results as a stream.
|
Flux<LookupInReplicaResult> |
ReactiveCollection.lookupInAllReplicas(String id,
List<LookupInSpec> lookupInSpecs)
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)
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.
|
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.
|
Mono<LookupInReplicaResult> |
ReactiveCollection.lookupInAnyReplica(String id,
List<LookupInSpec> lookupInSpecs)
Reads all available replicas, and returns the first found.
|
CompletableFuture<LookupInReplicaResult> |
AsyncCollection.lookupInAnyReplica(String id,
List<LookupInSpec> specs)
Reads all available replicas, and returns the first found.
|
Mono<LookupInReplicaResult> |
ReactiveCollection.lookupInAnyReplica(String id,
List<LookupInSpec> lookupInSpecs,
LookupInAnyReplicaOptions options)
Reads all available replicas, and returns the first found.
|
CompletableFuture<LookupInReplicaResult> |
AsyncCollection.lookupInAnyReplica(String id,
List<LookupInSpec> specs,
LookupInAnyReplicaOptions options)
Reads all available replicas, and returns the first found.
|
Modifier and Type | Method and Description |
---|---|
static LookupInReplicaResult |
LookupInReplicaResult.from(com.couchbase.client.core.api.kv.CoreSubdocGetResult response,
JsonSerializer serializer) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.