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.MutationResult
Collection. 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 InsertOptions
InsertOptions. expiry(Duration expiry)
Sets the expiry time for the document as a relative duration.InsertOptions
InsertOptions. expiry(Instant expiry)
Sets the expiry time for the document as a absolute duration.InsertOptions
CommonDatastructureOptions.BuiltCommonDatastructureOptions. insertOptions()
static InsertOptions
InsertOptions. insertOptions()
InsertOptions
InsertOptions. transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to encode the content of the request.