Uses of Class
com.couchbase.client.java.kv.MutationResult
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.
|
-
Uses of MutationResult in com.couchbase.client.java
Methods in com.couchbase.client.java that return MutationResult Modifier and Type Method Description MutationResult
BinaryCollection. append(String id, byte[] content)
Appends binary content to the document.MutationResult
BinaryCollection. append(String id, byte[] content, AppendOptions options)
Appends binary content to the document with custom options.MutationResult
Collection. insert(String id, Object content)
Inserts a full document which does not exist yet.MutationResult
Collection. insert(String id, Object content, InsertOptions options)
Inserts a full document which does not exist yet with custom options.MutationResult
BinaryCollection. prepend(String id, byte[] content)
Prepends binary content to the document.MutationResult
BinaryCollection. prepend(String id, byte[] content, PrependOptions options)
Prepends binary content to the document with custom options.MutationResult
Collection. remove(String id)
Removes a Document from a collection.MutationResult
Collection. remove(String id, RemoveOptions options)
Removes a Document from a collection with custom options.MutationResult
Collection. replace(String id, Object content)
Replaces a full document which already exists.MutationResult
Collection. replace(String id, Object content, ReplaceOptions options)
Replaces a full document which already exists with custom options.MutationResult
Collection. touch(String id, Duration expiry)
Updates the expiry of the document with the given id.MutationResult
Collection. touch(String id, Duration expiry, TouchOptions options)
Updates the expiry of the document with the given id with custom options.MutationResult
Collection. upsert(String id, Object content)
Upserts a full document which might or might not exist yet.MutationResult
Collection. upsert(String id, Object content, UpsertOptions options)
Upserts a full document which might or might not exist yet with custom options.Methods in com.couchbase.client.java that return types with arguments of type MutationResult Modifier and Type Method Description CompletableFuture<MutationResult>
AsyncBinaryCollection. append(String id, byte[] content)
Appends binary content to the document.CompletableFuture<MutationResult>
AsyncBinaryCollection. append(String id, byte[] content, AppendOptions options)
Appends binary content to the document with custom options.Mono<MutationResult>
ReactiveBinaryCollection. append(String id, byte[] content)
Appends binary content to the document.Mono<MutationResult>
ReactiveBinaryCollection. append(String id, byte[] content, AppendOptions options)
Appends binary content to the document with custom options.CompletableFuture<MutationResult>
AsyncCollection. insert(String id, Object content)
Inserts a full document which does not exist yet with default options.CompletableFuture<MutationResult>
AsyncCollection. insert(String id, Object content, InsertOptions options)
Inserts a full document which does not exist yet with custom options.Mono<MutationResult>
ReactiveCollection. insert(String id, Object content)
Inserts a full document which does not exist yet with default options.Mono<MutationResult>
ReactiveCollection. insert(String id, Object content, InsertOptions options)
Inserts a full document which does not exist yet with custom options.CompletableFuture<MutationResult>
AsyncBinaryCollection. prepend(String id, byte[] content)
Prepends binary content to the document.CompletableFuture<MutationResult>
AsyncBinaryCollection. prepend(String id, byte[] content, PrependOptions options)
Prepends binary content to the document with custom options.Mono<MutationResult>
ReactiveBinaryCollection. prepend(String id, byte[] content)
Prepends binary content to the document.Mono<MutationResult>
ReactiveBinaryCollection. prepend(String id, byte[] content, PrependOptions options)
Prepends binary content to the document with custom options.CompletableFuture<MutationResult>
AsyncCollection. remove(String id)
Removes a Document from a collection with default options.CompletableFuture<MutationResult>
AsyncCollection. remove(String id, RemoveOptions options)
Removes a Document from a collection with custom options.Mono<MutationResult>
ReactiveCollection. remove(String id)
Removes a Document from a collection with default options.Mono<MutationResult>
ReactiveCollection. remove(String id, RemoveOptions options)
Removes a Document from a collection with custom options.CompletableFuture<MutationResult>
AsyncCollection. replace(String id, Object content)
Replaces a full document which already exists with default options.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)
Replaces a full document which already exists with default options.Mono<MutationResult>
ReactiveCollection. replace(String id, Object content, ReplaceOptions options)
Replaces a full document which already exists with custom options.CompletableFuture<MutationResult>
AsyncCollection. touch(String id, Duration expiry)
Updates the expiry of the document with the given id with default options.CompletableFuture<MutationResult>
AsyncCollection. touch(String id, Duration expiry, TouchOptions options)
Updates the expiry of the document with the given id with custom options.Mono<MutationResult>
ReactiveCollection. touch(String id, Duration expiry)
Updates the expiry of the document with the given id with default options.Mono<MutationResult>
ReactiveCollection. touch(String id, Duration expiry, TouchOptions options)
Updates the expiry of the document with the given id with custom options.CompletableFuture<MutationResult>
AsyncCollection. upsert(String id, Object content)
Upserts a full document which might or might not exist yet with default options.CompletableFuture<MutationResult>
AsyncCollection. upsert(String id, Object content, UpsertOptions options)
Upserts a full document which might or might not exist yet with custom options.Mono<MutationResult>
ReactiveCollection. upsert(String id, Object content)
Upserts a full document which might or might not exist yet with default options.Mono<MutationResult>
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
Subclasses of MutationResult in com.couchbase.client.java.kv Modifier and Type Class Description class
CounterResult
Result returned from counter (increment, decrement) operations.class
MutateInResult
This result is returned from successful KeyValue subdocument mutation responses.Methods in com.couchbase.client.java.kv with type parameters of type MutationResult Modifier and Type Method Description static <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.Methods in com.couchbase.client.java.kv that return types with arguments of type MutationResult Modifier and Type Method Description static CompletableFuture<MutationResult>
AppendAccessor. append(Core core, AppendRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
static CompletableFuture<MutationResult>
InsertAccessor. insert(Core core, InsertRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
static CompletableFuture<MutationResult>
PrependAccessor. prepend(Core core, PrependRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
static CompletableFuture<MutationResult>
RemoveAccessor. remove(Core core, RemoveRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
static CompletableFuture<MutationResult>
ReplaceAccessor. replace(Core core, ReplaceRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
static CompletableFuture<MutationResult>
TouchAccessor. touch(Core core, TouchRequest request, String key)
static CompletableFuture<MutationResult>
UpsertAccessor. upsert(Core core, UpsertRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)