com.netflix.astyanax
Enum CassandraOperationType

java.lang.Object
  extended by java.lang.Enum<CassandraOperationType>
      extended by com.netflix.astyanax.CassandraOperationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CassandraOperationType>

public enum CassandraOperationType
extends java.lang.Enum<CassandraOperationType>


Enum Constant Summary
ADD_COLUMN_FAMILY
           
ADD_KEYSPACE
           
BATCH_MUTATE
           
COLUMN_DELETE
           
COLUMN_INSERT
           
COLUMN_MUTATE
           
COPY_TO
           
COUNTER_MUTATE
           
CQL
           
DESCRIBE_CLUSTER
           
DESCRIBE_KEYSPACE
           
DESCRIBE_KEYSPACES
           
DESCRIBE_PARTITIONER
           
DESCRIBE_RING
           
DESCRIBE_SCHEMA_VERSION
           
DESCRIBE_SNITCH
           
DESCRIBE_VERSION
           
DROP_COLUMN_FAMILY
           
DROP_KEYSPACE
           
GET_COLUMN
           
GET_COLUMN_COUNT
           
GET_ROW
           
GET_ROWS_BY_INDEX
           
GET_ROWS_RANGE
           
GET_ROWS_SLICE
           
GET_VERSION
           
SET_KEYSPACE
           
TEST
           
TRUNCATE
           
UPDATE_COLUMN_FAMILY
           
UPDATE_KEYSPACE
           
 
Method Summary
 CassandraOperationCategory getCategory()
           
static CassandraOperationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CassandraOperationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BATCH_MUTATE

public static final CassandraOperationType BATCH_MUTATE

GET_ROW

public static final CassandraOperationType GET_ROW

GET_ROWS_RANGE

public static final CassandraOperationType GET_ROWS_RANGE

GET_ROWS_SLICE

public static final CassandraOperationType GET_ROWS_SLICE

GET_ROWS_BY_INDEX

public static final CassandraOperationType GET_ROWS_BY_INDEX

GET_COLUMN

public static final CassandraOperationType GET_COLUMN

CQL

public static final CassandraOperationType CQL

DESCRIBE_RING

public static final CassandraOperationType DESCRIBE_RING

COUNTER_MUTATE

public static final CassandraOperationType COUNTER_MUTATE

COLUMN_MUTATE

public static final CassandraOperationType COLUMN_MUTATE

COLUMN_DELETE

public static final CassandraOperationType COLUMN_DELETE

COLUMN_INSERT

public static final CassandraOperationType COLUMN_INSERT

GET_COLUMN_COUNT

public static final CassandraOperationType GET_COLUMN_COUNT

COPY_TO

public static final CassandraOperationType COPY_TO

DESCRIBE_KEYSPACE

public static final CassandraOperationType DESCRIBE_KEYSPACE

TRUNCATE

public static final CassandraOperationType TRUNCATE

DESCRIBE_CLUSTER

public static final CassandraOperationType DESCRIBE_CLUSTER

DESCRIBE_VERSION

public static final CassandraOperationType DESCRIBE_VERSION

DESCRIBE_SNITCH

public static final CassandraOperationType DESCRIBE_SNITCH

DESCRIBE_PARTITIONER

public static final CassandraOperationType DESCRIBE_PARTITIONER

DESCRIBE_SCHEMA_VERSION

public static final CassandraOperationType DESCRIBE_SCHEMA_VERSION

GET_VERSION

public static final CassandraOperationType GET_VERSION

DROP_COLUMN_FAMILY

public static final CassandraOperationType DROP_COLUMN_FAMILY

DESCRIBE_KEYSPACES

public static final CassandraOperationType DESCRIBE_KEYSPACES

DROP_KEYSPACE

public static final CassandraOperationType DROP_KEYSPACE

ADD_COLUMN_FAMILY

public static final CassandraOperationType ADD_COLUMN_FAMILY

UPDATE_COLUMN_FAMILY

public static final CassandraOperationType UPDATE_COLUMN_FAMILY

ADD_KEYSPACE

public static final CassandraOperationType ADD_KEYSPACE

UPDATE_KEYSPACE

public static final CassandraOperationType UPDATE_KEYSPACE

SET_KEYSPACE

public static final CassandraOperationType SET_KEYSPACE

TEST

public static final CassandraOperationType TEST
Method Detail

values

public static CassandraOperationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CassandraOperationType c : CassandraOperationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CassandraOperationType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCategory

public CassandraOperationCategory getCategory()