Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
boolean
Checks this type of statement allow the where clause to contains clustering column slices.
boolean
Checks if this type of statement allow non primary key in the where clause.
boolean
Checks this statement allow the where clause to contains missing partition key components or token relation.
boolean
Checks if this type of statement allow the use of secondary indices.
boolean
Checks if this type is a delete.
boolean
Checks if this type is an insert.
boolean
Checks if this type is a select.
boolean
Checks if this type is an update.
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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:
IllegalArgumentException - if this enum class has no constant with the specified name
NullPointerException - if the argument is null
isInsert
public boolean isInsert ()
Checks if this type is an insert.
Returns:
true if this type is an insert, false otherwise.
isUpdate
public boolean isUpdate ()
Checks if this type is an update.
Returns:
true if this type is an update, false otherwise.
isDelete
public boolean isDelete ()
Checks if this type is a delete.
Returns:
true if this type is a delete, false otherwise.
isSelect
public boolean isSelect ()
Checks if this type is a select.
Returns:
true if this type is a select, false otherwise.
allowPartitionKeyRanges
public boolean allowPartitionKeyRanges ()
Checks this statement allow the where clause to contains missing partition key components or token relation.
Returns:
true if this statement allow the where clause to contains missing partition key components
or token relation, false otherwise.
allowClusteringColumnSlices
public boolean allowClusteringColumnSlices ()
Checks this type of statement allow the where clause to contains clustering column slices.
Returns:
true if this type of statement allow the where clause to contains clustering column slices,
false otherwise.
allowNonPrimaryKeyInWhereClause
public boolean allowNonPrimaryKeyInWhereClause ()
Checks if this type of statement allow non primary key in the where clause.
Returns:
true if this type of statement allow non primary key in the where clause,
false otherwise.
allowUseOfSecondaryIndices
public boolean allowUseOfSecondaryIndices ()
Checks if this type of statement allow the use of secondary indices.
Returns:
true if this type of statement allow the use of secondary indices,
false otherwise.