public enum StatementType extends java.lang.Enum<StatementType>
Enum Constant and Description |
---|
ALTER_TABLE |
BATCH |
CREATE_COLUMNFAMILY |
CREATE_INDEX |
CREATE_KEYSPACE |
DELETE |
DROP_COLUMNFAMILY |
DROP_INDEX |
DROP_KEYSPACE |
INSERT |
SELECT |
TRUNCATE |
UPDATE |
USE |
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<StatementType> |
requiresKeyspace |
Modifier and Type | Method and Description |
---|---|
static StatementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementType SELECT
public static final StatementType INSERT
public static final StatementType UPDATE
public static final StatementType BATCH
public static final StatementType USE
public static final StatementType TRUNCATE
public static final StatementType DELETE
public static final StatementType CREATE_KEYSPACE
public static final StatementType CREATE_COLUMNFAMILY
public static final StatementType CREATE_INDEX
public static final StatementType DROP_INDEX
public static final StatementType DROP_KEYSPACE
public static final StatementType DROP_COLUMNFAMILY
public static final StatementType ALTER_TABLE
public static final java.util.EnumSet<StatementType> requiresKeyspace
public static StatementType[] values()
for (StatementType c : StatementType.values()) System.out.println(c);
public static StatementType 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 nullCopyright © 2014 The Apache Software Foundation