Uses of Class
com.couchbase.client.java.kv.UpsertOptions
| 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 UpsertOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type UpsertOptions Modifier and Type Method Description CompletableFuture<MutationResult>AsyncCollection. upsert(String id, Object content, UpsertOptions options)Upserts a full document which might or might not exist yet with custom options.MutationResultCollection. 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, UpsertOptions options)Upserts a full document which might or might not exist yet with custom options. -
Uses of UpsertOptions in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return UpsertOptions Modifier and Type Method Description UpsertOptionsUpsertOptions. expiry(Duration expiry)Sets the expiry time for the document as a relative duration.UpsertOptionsUpsertOptions. expiry(Instant expiry)Sets the expiry time for the document as a absolute duration.UpsertOptionsUpsertOptions. transcoder(Transcoder transcoder)Allows to specify a custom transcoder that is used to encode the content of the request.UpsertOptionsCommonDatastructureOptions.BuiltCommonDatastructureOptions. upsertOptions()static UpsertOptionsUpsertOptions. upsertOptions()