java.io.Serializable
, java.lang.Comparable<Translog.Operation.Type>
public static enum Translog.Operation.Type extends java.lang.Enum<Translog.Operation.Type>
Enum Constant | Description |
---|---|
CREATE |
Deprecated.
|
DELETE |
|
INDEX |
|
NO_OP |
Modifier and Type | Method | Description |
---|---|---|
static Translog.Operation.Type |
fromId(byte id) |
|
byte |
id() |
|
static Translog.Operation.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Translog.Operation.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final Translog.Operation.Type CREATE
public static final Translog.Operation.Type INDEX
public static final Translog.Operation.Type DELETE
public static final Translog.Operation.Type NO_OP
public static Translog.Operation.Type[] values()
for (Translog.Operation.Type c : Translog.Operation.Type.values()) System.out.println(c);
public static Translog.Operation.Type 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 byte id()
public static Translog.Operation.Type fromId(byte id)