static enum CommitLogReadHandlerImpl.PartitionType extends Enum<CommitLogReadHandlerImpl.PartitionType>
| Enum Constant and Description |
|---|
COUNTER
an update on a table that contains counter data type
|
MATERIALIZED_VIEW
an update on materialized view
|
PARTITION_AND_CLUSTERING_KEY_ROW_DELETION
a partition-level deletion where partition key + clustering key = primary key
|
PARTITION_KEY_ROW_DELETION
a partition-level deletion where partition key = primary key (no clustering key)
|
ROW_LEVEL_MODIFICATION
a row-level modification
|
SECONDARY_INDEX
an update on secondary index
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static Set<CommitLogReadHandlerImpl.PartitionType> |
supportedPartitionTypes |
| Modifier and Type | Method and Description |
|---|---|
static CommitLogReadHandlerImpl.PartitionType |
getPartitionType(org.apache.cassandra.db.partitions.PartitionUpdate pu) |
static boolean |
hasClusteringKeys(org.apache.cassandra.db.partitions.PartitionUpdate pu) |
static boolean |
isPartitionDeletion(org.apache.cassandra.db.partitions.PartitionUpdate pu) |
static boolean |
isValid(CommitLogReadHandlerImpl.PartitionType type) |
static CommitLogReadHandlerImpl.PartitionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitLogReadHandlerImpl.PartitionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitLogReadHandlerImpl.PartitionType PARTITION_KEY_ROW_DELETION
public static final CommitLogReadHandlerImpl.PartitionType PARTITION_AND_CLUSTERING_KEY_ROW_DELETION
public static final CommitLogReadHandlerImpl.PartitionType ROW_LEVEL_MODIFICATION
public static final CommitLogReadHandlerImpl.PartitionType MATERIALIZED_VIEW
public static final CommitLogReadHandlerImpl.PartitionType SECONDARY_INDEX
public static final CommitLogReadHandlerImpl.PartitionType COUNTER
static final Set<CommitLogReadHandlerImpl.PartitionType> supportedPartitionTypes
public static CommitLogReadHandlerImpl.PartitionType[] values()
for (CommitLogReadHandlerImpl.PartitionType c : CommitLogReadHandlerImpl.PartitionType.values()) System.out.println(c);
public static CommitLogReadHandlerImpl.PartitionType 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 nullpublic static CommitLogReadHandlerImpl.PartitionType getPartitionType(org.apache.cassandra.db.partitions.PartitionUpdate pu)
public static boolean isValid(CommitLogReadHandlerImpl.PartitionType type)
public static boolean hasClusteringKeys(org.apache.cassandra.db.partitions.PartitionUpdate pu)
public static boolean isPartitionDeletion(org.apache.cassandra.db.partitions.PartitionUpdate pu)
Copyright © 2020 JBoss by Red Hat. All rights reserved.