| Modifier and Type | Method and Description |
|---|---|
Flux<CoreSubdocGetResult> |
ClassicCoreKvOps.subdocGetAllReplicasReactive(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands) |
Mono<CoreSubdocGetResult> |
ClassicCoreKvOps.subdocGetAnyReplicaReactive(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands) |
CoreAsyncResponse<CoreSubdocGetResult> |
ClassicCoreKvOps.subdocGetAsync(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands,
boolean accessDeleted) |
| Modifier and Type | Method and Description |
|---|---|
static SubdocGetRequest |
SubdocGetRequest.create(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte flags,
List<CoreSubdocGetCommand> commands,
RequestSpan span) |
static ReplicaSubdocGetRequest |
ReplicaSubdocGetRequest.create(Duration timeout,
CoreContext ctx,
CollectionIdentifier collectionIdentifier,
RetryStrategy retryStrategy,
String key,
byte flags,
List<CoreSubdocGetCommand> commands,
short replica,
RequestSpan span) |
| Modifier and Type | Method and Description |
|---|---|
static CoreSubdocGetResult |
CoreProtostellarKeyValueResponses.convertResponse(CoreProtostellar core,
ProtostellarRequest<?> request,
CoreKeyspace keyspace,
String key,
com.couchbase.client.protostellar.kv.v1.LookupInResponse response,
List<CoreSubdocGetCommand> specs) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.LookupInRequest> |
CoreProtostellarKeyValueRequests.lookupInRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
List<CoreSubdocGetCommand> commands,
boolean accessDeleted) |
Flux<CoreSubdocGetResult> |
ProtostellarCoreKvOps.subdocGetAllReplicasReactive(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands) |
Mono<CoreSubdocGetResult> |
ProtostellarCoreKvOps.subdocGetAnyReplicaReactive(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands) |
CoreAsyncResponse<CoreSubdocGetResult> |
ProtostellarCoreKvOps.subdocGetAsync(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands,
boolean accessDeleted) |
CoreSubdocGetResult |
ProtostellarCoreKvOps.subdocGetBlocking(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands,
boolean accessDeleted) |
Mono<CoreSubdocGetResult> |
ProtostellarCoreKvOps.subdocGetReactive(CoreCommonOptions common,
String key,
List<CoreSubdocGetCommand> commands,
boolean accessDeleted) |
| Modifier and Type | Method and Description |
|---|---|
static <R> CompletableFuture<List<CompletableFuture<R>>> |
ReplicaHelper.lookupInAllReplicasAsync(Core core,
CollectionIdentifier collectionIdentifier,
String documentId,
List<CoreSubdocGetCommand> commands,
Duration timeout,
RetryStrategy retryStrategy,
Map<String,Object> clientContext,
RequestSpan parentSpan,
Function<CoreSubdocGetResult,R> responseMapper)
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.
|
static Flux<CoreSubdocGetResult> |
ReplicaHelper.lookupInAllReplicasReactive(Core core,
CollectionIdentifier collectionIdentifier,
String documentId,
List<CoreSubdocGetCommand> commands,
Duration timeout,
RetryStrategy retryStrategy,
Map<String,Object> clientContext,
RequestSpan parentSpan) |
static CompletableFuture<Stream<SubdocGetRequest>> |
ReplicaHelper.lookupInAllReplicasRequests(Core core,
CollectionIdentifier collectionIdentifier,
String documentId,
List<CoreSubdocGetCommand> commands,
Map<String,Object> clientContext,
RetryStrategy retryStrategy,
Duration timeout,
RequestSpan parent)
Helper method to assemble a stream of requests to the active and all replicas
|
static <R> CompletableFuture<R> |
ReplicaHelper.lookupInAnyReplicaAsync(Core core,
CollectionIdentifier collectionIdentifier,
String documentId,
List<CoreSubdocGetCommand> commands,
Duration timeout,
RetryStrategy retryStrategy,
Map<String,Object> clientContext,
RequestSpan parentSpan,
Function<CoreSubdocGetResult,R> responseMapper) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.