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<MutationResult> |
AsyncCollection.upsert(String id,
Object content,
UpsertOptions options)
Upserts a full document which might or might not exist yet with custom options.
|
Mono<MutationResult> |
ReactiveCollection.upsert(String id,
Object content,
UpsertOptions options)
Upserts a full document which might or might not exist yet with custom options.
|
MutationResult |
Collection.upsert(String id,
Object content,
UpsertOptions options)
Upserts a full document which might or might not exist yet with custom options.
|
Modifier and Type | Method and Description |
---|---|
UpsertOptions |
UpsertOptions.expiry(Duration expiry) |
UpsertOptions |
UpsertOptions.expiry(Instant expiry) |
UpsertOptions |
UpsertOptions.transcoder(Transcoder transcoder) |
static UpsertOptions |
UpsertOptions.upsertOptions() |
UpsertOptions |
CommonDatastructureOptions.BuiltCommonDatastructureOptions.upsertOptions() |
Copyright © 2020 Couchbase, Inc.. All rights reserved.