|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RecordMutationType>
org.apache.blur.thrift.generated.RecordMutationType
public enum RecordMutationType
Specifies the type of Record mutation that should occur during a mutation of a given Record. | |
DELETE_ENTIRE_RECORD | Indicates the Record with the given recordId in the given Row is to be deleted. If the target record does not exist, then no changes are made. |
REPLACE_ENTIRE_RECORD | Indicates the Record with the given recordId in the given Row is to be deleted, and a new Record with the same id is to be added. If the specified record does not exist the new record is still added. |
REPLACE_COLUMNS | Replace the columns that are specified in the Record mutation. If the target record does not exist then this mutation will result in a BlurException. |
APPEND_COLUMN_VALUES | Append the columns in the Record mutation to the Record that could already exist. If the target record does not exist then this mutation will result in a BlurException. |
Enum Constant Summary | |
---|---|
APPEND_COLUMN_VALUES
|
|
DELETE_ENTIRE_RECORD
|
|
REPLACE_COLUMNS
|
|
REPLACE_ENTIRE_RECORD
|
Method Summary | |
---|---|
static RecordMutationType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static RecordMutationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RecordMutationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RecordMutationType DELETE_ENTIRE_RECORD
public static final RecordMutationType REPLACE_ENTIRE_RECORD
public static final RecordMutationType REPLACE_COLUMNS
public static final RecordMutationType APPEND_COLUMN_VALUES
Method Detail |
---|
public static RecordMutationType[] values()
for (RecordMutationType c : RecordMutationType.values()) System.out.println(c);
public static RecordMutationType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface TEnum
public static RecordMutationType findByValue(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |