@Stability.Internal public enum InsertAccessor extends Enum<InsertAccessor>
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<MutationResult> |
insert(Core core,
InsertRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo) |
static InsertAccessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InsertAccessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static InsertAccessor[] values()
for (InsertAccessor c : InsertAccessor.values()) System.out.println(c);
public static InsertAccessor 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> insert(Core core, InsertRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
Copyright © 2021 Couchbase, Inc.. All rights reserved.