|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BatchStatement.Type>
com.datastax.driver.core.BatchStatement.Type
public static enum BatchStatement.Type
The type of batch to use.
| Enum Constant Summary | |
|---|---|
COUNTER
A counter batch. |
|
LOGGED
A logged batch: Cassandra will first the batch to its distributed batch log to ensure the atomicity of the batch. |
|
UNLOGGED
A batch that doesn't use Cassandra's distributed batch log. |
|
| Method Summary | |
|---|---|
static BatchStatement.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BatchStatement.Type[] |
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 |
|---|
public static final BatchStatement.Type LOGGED
public static final BatchStatement.Type UNLOGGED
public static final BatchStatement.Type COUNTER
| Method Detail |
|---|
public static BatchStatement.Type[] values()
for (BatchStatement.Type c : BatchStatement.Type.values()) System.out.println(c);
public static BatchStatement.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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||