public enum DefaultWriteType extends Enum<DefaultWriteType> implements WriteType
Enum Constant and Description |
---|
BATCH
A write to a multiple partition key that used the distributed batch log to ensure atomicity
(atomicity meaning that if any statement in the batch succeeds, all will eventually succeed).
|
BATCH_LOG
The initial write to the distributed batch log that Cassandra performs internally before a
BATCH write.
|
CAS
A conditional write.
|
CDC
Indicates that the timeout was related to acquiring space for change data capture logs for cdc
tracked tables.
|
COUNTER
A counter write (that can be for one or multiple partition key).
|
SIMPLE
A write to a single partition key.
|
UNLOGGED_BATCH
A write to a multiple partition key that doesn't use the distributed batch log.
|
VIEW
Indicates that the timeout was related to acquiring locks needed for updating materialized
views affected by write operation.
|
Modifier and Type | Method and Description |
---|---|
static DefaultWriteType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultWriteType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultWriteType SIMPLE
public static final DefaultWriteType BATCH
public static final DefaultWriteType UNLOGGED_BATCH
public static final DefaultWriteType COUNTER
public static final DefaultWriteType BATCH_LOG
public static final DefaultWriteType CAS
WriteType
, the timeout has happened while
doing the compare-and-swap for an conditional update. In this case, the update may or may not
have been applied.public static final DefaultWriteType VIEW
public static final DefaultWriteType CDC
public static DefaultWriteType[] values()
for (DefaultWriteType c : DefaultWriteType.values()) System.out.println(c);
public static DefaultWriteType 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 © 2017–2024. All rights reserved.