CompletableFuture<GetResult> |
AsyncCollection.get(String id) |
Fetches a full document (or a projection of it) from a collection with default options.
|
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) |
Fetches a Document from a collection with default options.
|
Mono<GetResult> |
ReactiveCollection.get(String id,
GetOptions options) |
Fetches a Document from a collection with custom options.
|
CompletableFuture<GetResult> |
AsyncCollection.getAndLock(String id) |
Fetches a full document and write-locks it for the given duration with default options.
|
CompletableFuture<GetResult> |
AsyncCollection.getAndLock(String id,
GetAndLockOptions options) |
Fetches a full document and write-locks it for the given duration with custom options.
|
Mono<GetResult> |
ReactiveCollection.getAndLock(String id) |
Fetches a full document and write-locks it for the given duration with default options.
|
Mono<GetResult> |
ReactiveCollection.getAndLock(String id,
GetAndLockOptions options) |
Fetches a full document and write-locks it for the given duration with custom options.
|
CompletableFuture<GetResult> |
AsyncCollection.getAndTouch(String id,
Duration expiration) |
Fetches a full document and resets its expiration time to the value provided with default
options.
|
CompletableFuture<GetResult> |
AsyncCollection.getAndTouch(String id,
Duration expiration,
GetAndTouchOptions options) |
Fetches a full document and resets its expiration time to the value provided with custom
options.
|
Mono<GetResult> |
ReactiveCollection.getAndTouch(String id,
Duration expiration) |
Fetches a full document and resets its expiration time to the value provided with default
options.
|
Mono<GetResult> |
ReactiveCollection.getAndTouch(String id,
Duration expiration,
GetAndTouchOptions options) |
Fetches a full document and resets its expiration time to the value provided with custom
options.
|
List<CompletableFuture<GetResult>> |
AsyncCollection.getFromReplica(String id) |
Reads from all available replicas and the active node and returns the results as a list
of futures that might complete or fail.
|
List<CompletableFuture<GetResult>> |
AsyncCollection.getFromReplica(String id,
GetFromReplicaOptions options) |
Reads from replicas or the active node based on the options and returns the results as a list
of futures that might complete or fail.
|
Stream<GetResult> |
Collection.getFromReplica(String id) |
Reads from all available replicas and the active node and returns the results as a stream.
|
Stream<GetResult> |
Collection.getFromReplica(String id,
GetFromReplicaOptions options) |
Reads all available or one replica and returns the results as a stream.
|
Flux<GetResult> |
ReactiveCollection.getFromReplica(String id) |
Reads from all available replicas and the active node and returns the results as a flux.
|
Flux<GetResult> |
ReactiveCollection.getFromReplica(String id,
GetFromReplicaOptions options) |
Reads all available or one replica and returns the results as a flux.
|