public static enum BatchStatement.Type extends Enum<BatchStatement.Type>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final BatchStatement.Type LOGGED
public static final BatchStatement.Type UNLOGGED
public static final BatchStatement.Type COUNTER
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 nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.