Uses of Class
com.couchbase.client.java.kv.GetOptions
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 GetOptions in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type GetOptions Modifier and Type Method Description CompletableFuture<GetResult>
AsyncCollection. get(String id, GetOptions options)
Fetches a full document (or a projection of it) from a collection with custom options.GetResult
Collection. get(String id, GetOptions options)
Fetches the full document from this collection with custom options.Mono<GetResult>
ReactiveCollection. get(String id, GetOptions options)
Fetches a Document from a collection with custom options. -
Uses of GetOptions in com.couchbase.client.java.kv
Methods in com.couchbase.client.java.kv that return GetOptions Modifier and Type Method Description GetOptions
CommonDatastructureOptions.BuiltCommonDatastructureOptions. getOptions()
static GetOptions
GetOptions. getOptions()
Creates a new set ofGetOptions
with aJsonObject
target.GetOptions
GetOptions. project(Iterable<String> paths)
Allows to specify a custom list paths to fetch from the document instead of the whole.GetOptions
GetOptions. project(String path, String... morePaths)
Allows to specify a custom list paths to fetch from the document instead of the whole.GetOptions
GetOptions. transcoder(Transcoder transcoder)
Allows to specify a custom transcoder that is used to decode the content of the result.GetOptions
GetOptions. withExpiry(boolean expiry)
If set to true, the get will fetch the expiry for the document as well and return it as part of theGetResult
.