public static enum DatabaseUpdate.Type extends Enum<DatabaseUpdate.Type>
| Enum Constant and Description |
|---|
PUT
Insert/Update entry without any checks.
|
PUT_IF_ABSENT
Insert an entry iff there is no existing entry for that key.
|
PUT_IF_VALUE_MATCH
Update entry if the current value matches specified value.
|
PUT_IF_VERSION_MATCH
Update entry if the current version matches specified version.
|
REMOVE
Remove entry without any checks.
|
REMOVE_IF_VALUE_MATCH
Remove entry if the current value matches specified value.
|
REMOVE_IF_VERSION_MATCH
Remove entry if the current version matches specified version.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseUpdate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseUpdate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseUpdate.Type PUT
public static final DatabaseUpdate.Type PUT_IF_ABSENT
public static final DatabaseUpdate.Type PUT_IF_VERSION_MATCH
public static final DatabaseUpdate.Type PUT_IF_VALUE_MATCH
public static final DatabaseUpdate.Type REMOVE
public static final DatabaseUpdate.Type REMOVE_IF_VERSION_MATCH
public static final DatabaseUpdate.Type REMOVE_IF_VALUE_MATCH
public static DatabaseUpdate.Type[] values()
for (DatabaseUpdate.Type c : DatabaseUpdate.Type.values()) System.out.println(c);
public static DatabaseUpdate.Type 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 nullCopyright © 2015. All rights reserved.