Uses of Class
com.couchbase.client.java.kv.MutationResult
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Namespace for various kv-service related classes.
-
Uses of MutationResult in com.couchbase.client.java
Modifier and TypeMethodDescriptionAppends binary content to the document.BinaryCollection.append
(String id, byte[] content, AppendOptions options) Appends binary content to the document with custom options.Inserts a full document which does not exist yet.Collection.insert
(String id, Object content, InsertOptions options) Inserts a full document which does not exist yet with custom options.Prepends binary content to the document.BinaryCollection.prepend
(String id, byte[] content, PrependOptions options) Prepends binary content to the document with custom options.Removes a Document from a collection.Collection.remove
(String id, RemoveOptions options) Removes a Document from a collection with custom options.Replaces a full document which already exists.Collection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options.Updates the expiry of the document with the given id.Collection.touch
(String id, Duration expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Updates the expiry of the document with the given id.Collection.touch
(String id, Instant expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Upserts a full document which might or might not exist yet.Collection.upsert
(String id, Object content, UpsertOptions options) Upserts a full document which might or might not exist yet with custom options.Modifier and TypeMethodDescriptionAppends binary content to the document.AsyncBinaryCollection.append
(String id, byte[] content, AppendOptions options) Appends binary content to the document with custom options.Appends binary content to the document.ReactiveBinaryCollection.append
(String id, byte[] content, AppendOptions options) Appends binary content to the document with custom options.Inserts a full document which does not exist yet with default options.AsyncCollection.insert
(String id, Object content, InsertOptions options) Inserts a full document which does not exist yet with custom options.Inserts a full document which does not exist yet with default options.ReactiveCollection.insert
(String id, Object content, InsertOptions options) Inserts a full document which does not exist yet with custom options.Prepends binary content to the document.AsyncBinaryCollection.prepend
(String id, byte[] content, PrependOptions options) Prepends binary content to the document with custom options.Prepends binary content to the document.ReactiveBinaryCollection.prepend
(String id, byte[] content, PrependOptions options) Prepends binary content to the document with custom options.Removes a Document from a collection with default options.AsyncCollection.remove
(String id, RemoveOptions options) Removes a Document from a collection with custom options.Removes a Document from a collection with default options.ReactiveCollection.remove
(String id, RemoveOptions options) Removes a Document from a collection with custom options.Replaces a full document which already exists with default options.AsyncCollection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options.Replaces a full document which already exists with default options.ReactiveCollection.replace
(String id, Object content, ReplaceOptions options) Replaces a full document which already exists with custom options.Updates the expiry of the document with the given id with default options.AsyncCollection.touch
(String id, Duration expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Updates the expiry of the document with the given id with default options.AsyncCollection.touch
(String id, Instant expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Updates the expiry of the document with the given id with default options.ReactiveCollection.touch
(String id, Duration expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Updates the expiry of the document with the given id with default options.ReactiveCollection.touch
(String id, Instant expiry, TouchOptions options) Updates the expiry of the document with the given id with custom options.Upserts a full document which might or might not exist yet with default options.AsyncCollection.upsert
(String id, Object content, UpsertOptions options) Upserts a full document which might or might not exist yet with custom options.Upserts a full document which might or might not exist yet with default options.ReactiveCollection.upsert
(String id, Object content, UpsertOptions options) Upserts a full document which might or might not exist yet with custom options. -
Uses of MutationResult in com.couchbase.client.java.kv
Modifier and TypeClassDescriptionclass
Result returned from counter (increment, decrement) operations.class
This result is returned from successful KeyValue subdocument mutation responses.Modifier and TypeMethodDescriptionstatic <T extends MutationResult>
CompletableFuture<T>DurabilityUtils.wrapWithDurability
(CompletableFuture<T> input, String key, PersistTo persistTo, ReplicateTo replicateTo, Core core, KeyValueRequest<?> request, boolean remove) Helper method to wrap a mutation result to perform durability requirements if needed.