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.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<GetResult> |
AsyncCollection.get(String id,
GetOptions options)
Fetches a full document (or a projection of it) from a collection with custom options.
|
Mono<GetResult> |
ReactiveCollection.get(String id,
GetOptions options)
Fetches a Document from a collection with custom options.
|
GetResult |
Collection.get(String id,
GetOptions options)
Fetches the full document from this collection with custom options.
|
Modifier and Type | Method and Description |
---|---|
GetOptions |
CommonDatastructureOptions.BuiltCommonDatastructureOptions.getOptions() |
static GetOptions |
GetOptions.getOptions()
Creates a new set of
GetOptions with a JsonObject 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 the
GetResult . |
Copyright © 2020 Couchbase, Inc.. All rights reserved.