public static enum RecordKey.Operation extends java.lang.Enum<RecordKey.Operation>
Modifier and Type | Method and Description |
---|---|
static boolean |
isDelete(RecordKey key) |
static <T> RecordKey.Operation |
of(ItemValue<T> item,
boolean isDelete) |
static RecordKey.Operation |
of(RecordKey key) |
static RecordKey.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecordKey.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordKey.Operation CREATE
public static final RecordKey.Operation UPDATE
public static final RecordKey.Operation DELETE
public static RecordKey.Operation[] values()
for (RecordKey.Operation c : RecordKey.Operation.values()) System.out.println(c);
public static RecordKey.Operation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static <T> RecordKey.Operation of(ItemValue<T> item, boolean isDelete)
public static boolean isDelete(RecordKey key)
public static RecordKey.Operation of(RecordKey key)
Copyright © 2023. All Rights Reserved.