public enum PayloadType extends java.lang.Enum<PayloadType>
Enum Constant and Description |
---|
COMMIT_COMPLETE
Maps to payload of type
CommitComplete |
COMMIT_TO_TABLE
Maps to payload of type
CommitToTable |
DATA_COMPLETE
Maps to payload of type
DataComplete |
DATA_WRITTEN
Maps to payload of type
DataWritten |
START_COMMIT
Maps to payload of type
StartCommit |
Modifier and Type | Method and Description |
---|---|
int |
id() |
static PayloadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PayloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayloadType START_COMMIT
StartCommit
public static final PayloadType DATA_WRITTEN
DataWritten
public static final PayloadType DATA_COMPLETE
DataComplete
public static final PayloadType COMMIT_TO_TABLE
CommitToTable
public static final PayloadType COMMIT_COMPLETE
CommitComplete
public static PayloadType[] values()
for (PayloadType c : PayloadType.values()) System.out.println(c);
public static PayloadType 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 int id()