public static enum Translog.Operation.Type extends Enum<Translog.Operation.Type>
Enum Constant and Description |
---|
CREATE |
DELETE |
DELETE_BY_QUERY |
SAVE |
Modifier and Type | Method and Description |
---|---|
static Translog.Operation.Type |
fromId(byte id) |
byte |
id() |
static Translog.Operation.Type |
valueOf(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.
|
public static final Translog.Operation.Type CREATE
public static final Translog.Operation.Type SAVE
public static final Translog.Operation.Type DELETE
public static final Translog.Operation.Type DELETE_BY_QUERY
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(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 nullpublic byte id()
public static Translog.Operation.Type fromId(byte id)
Copyright © 2009–2016. All rights reserved.