public static enum RequestPacket.Type extends Enum<RequestPacket.Type>
| Enum Constant and Description |
|---|
LOGIN
Deprecated.
|
PREPARED_STATEMENT |
PREPARED_VALUES_BATCH |
PREPARED_WITH_VALUES |
STATEMENT |
| Modifier and Type | Method and Description |
|---|---|
static RequestPacket.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestPacket.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final RequestPacket.Type LOGIN
public static final RequestPacket.Type STATEMENT
public static final RequestPacket.Type PREPARED_STATEMENT
public static final RequestPacket.Type PREPARED_WITH_VALUES
public static final RequestPacket.Type PREPARED_VALUES_BATCH
public static RequestPacket.Type[] values()
for (RequestPacket.Type c : RequestPacket.Type.values()) System.out.println(c);
public static RequestPacket.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 nullCopyright © GigaSpaces.