public static enum ResultMessage.Kind extends Enum<ResultMessage.Kind>
Enum Constant and Description |
---|
PREPARED |
ROWS |
SCHEMA_CHANGE |
SET_KEYSPACE |
VOID |
Modifier and Type | Field and Description |
---|---|
int |
id |
Message.Codec<ResultMessage> |
subcodec |
Modifier and Type | Method and Description |
---|---|
static ResultMessage.Kind |
fromId(int id) |
static ResultMessage.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultMessage.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultMessage.Kind VOID
public static final ResultMessage.Kind ROWS
public static final ResultMessage.Kind SET_KEYSPACE
public static final ResultMessage.Kind PREPARED
public static final ResultMessage.Kind SCHEMA_CHANGE
public final int id
public final Message.Codec<ResultMessage> subcodec
public static ResultMessage.Kind[] values()
for (ResultMessage.Kind c : ResultMessage.Kind.values()) System.out.println(c);
public static ResultMessage.Kind 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 static ResultMessage.Kind fromId(int id)
Copyright © 2014. All Rights Reserved.