Uses of Class
com.couchbase.client.java.kv.ReplaceOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of ReplaceOptions in com.couchbase.client.java
Modifier and TypeMethodDescriptionAsyncCollection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options.Collection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options.ReactiveCollection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options. -
Uses of ReplaceOptions in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionReplaceOptions.cas
(long cas) Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.Sets the expiry for the document.Sets the expiry for the document.ReplaceOptions.preserveExpiry
(boolean preserveExpiry) Specifies whether the document's expiry should be preserved.static ReplaceOptions
ReplaceOptions.replaceOptions()
ReplaceOptions.transcoder
(Transcoder transcoder) Allows to specify a custom transcoder that is used to encode the content of the request.