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 |
---|---|
MutationResult |
Collection.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.
|
CompletableFuture<MutationResult> |
AsyncCollection.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)
Sets the expiry for the document.
|
ReplaceOptions |
ReplaceOptions.expiry(Instant expiry)
Sets the expiry for the document.
|
ReplaceOptions |
ReplaceOptions.preserveExpiry(boolean preserveExpiry)
Specifies whether the document's expiry should be preserved.
|
static ReplaceOptions |
ReplaceOptions.replaceOptions() |
ReplaceOptions |
ReplaceOptions.transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.