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