public enum RecordExistsAction extends Enum<RecordExistsAction>
Enum Constant and Description |
---|
CREATE_ONLY
Create only.
|
REPLACE
Create or replace record.
|
REPLACE_ONLY
Replace record only.
|
UPDATE
Create or update record.
|
UPDATE_ONLY
Update record only.
|
Modifier and Type | Method and Description |
---|---|
static RecordExistsAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordExistsAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordExistsAction UPDATE
public static final RecordExistsAction UPDATE_ONLY
public static final RecordExistsAction REPLACE
public static final RecordExistsAction REPLACE_ONLY
public static final RecordExistsAction CREATE_ONLY
public static RecordExistsAction[] values()
for (RecordExistsAction c : RecordExistsAction.values()) System.out.println(c);
public static RecordExistsAction 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 ? 2012–2018 Aerospike, Inc. All rights reserved.