@Stability.Internal public enum UpsertAccessor extends Enum<UpsertAccessor>
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<MutationResult> |
upsert(Core core,
UpsertRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo) |
static UpsertAccessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpsertAccessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static UpsertAccessor[] values()
for (UpsertAccessor c : UpsertAccessor.values()) System.out.println(c);
public static UpsertAccessor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CompletableFuture<MutationResult> upsert(Core core, UpsertRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
Copyright © 2020 Couchbase, Inc.. All rights reserved.