public static enum Translog.Operation.Type extends java.lang.Enum<Translog.Operation.Type>
Modifier and Type | Method and 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 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)