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 |
---|---|
CompletableFuture<MutationResult> |
AsyncCollection.replace(String id,
Object content,
ReplaceOptions options)
Replaces a full document which already exists with custom options.
|
Mono<MutationResult> |
ReactiveCollection.replace(String id,
Object content,
ReplaceOptions options)
Replaces a full document which already exists with custom options.
|
MutationResult |
Collection.replace(String id,
Object content,
ReplaceOptions options)
Replaces a full document which already exists with custom options.
|
Modifier and Type | Method and Description |
---|---|
ReplaceOptions |
ReplaceOptions.cas(long cas)
Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.
|
ReplaceOptions |
ReplaceOptions.expiry(Duration expiry) |
static ReplaceOptions |
ReplaceOptions.replaceOptions() |
ReplaceOptions |
ReplaceOptions.transcoder(Transcoder transcoder) |
Copyright © 2020 Couchbase, Inc.. All rights reserved.