static enum CommitLogReadHandlerImpl.RowType extends Enum<CommitLogReadHandlerImpl.RowType>
Row-level modifications in a Cassandra table.| Enum Constant and Description |
|---|
DELETE
Single-row delete
|
INSERT
Single-row insert
|
RANGE_TOMBSTONE
A row-level deletion that deletes a range of keys.
|
UNKNOWN
Unknown row-level operation
|
UPDATE
Single-row update
|
| Modifier and Type | Field and Description |
|---|---|
(package private) static Set<CommitLogReadHandlerImpl.RowType> |
supportedRowTypes |
| Modifier and Type | Method and Description |
|---|---|
static CommitLogReadHandlerImpl.RowType |
getRowType(org.apache.cassandra.db.rows.Unfiltered unfiltered) |
static boolean |
isDelete(org.apache.cassandra.db.rows.Row row) |
static boolean |
isInsert(org.apache.cassandra.db.rows.Row row) |
static boolean |
isUpdate(org.apache.cassandra.db.rows.Row row) |
static boolean |
isValid(CommitLogReadHandlerImpl.RowType rowType) |
static CommitLogReadHandlerImpl.RowType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommitLogReadHandlerImpl.RowType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommitLogReadHandlerImpl.RowType INSERT
public static final CommitLogReadHandlerImpl.RowType UPDATE
public static final CommitLogReadHandlerImpl.RowType DELETE
public static final CommitLogReadHandlerImpl.RowType RANGE_TOMBSTONE
public static final CommitLogReadHandlerImpl.RowType UNKNOWN
static final Set<CommitLogReadHandlerImpl.RowType> supportedRowTypes
public static CommitLogReadHandlerImpl.RowType[] values()
for (CommitLogReadHandlerImpl.RowType c : CommitLogReadHandlerImpl.RowType.values()) System.out.println(c);
public static CommitLogReadHandlerImpl.RowType 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.RowType getRowType(org.apache.cassandra.db.rows.Unfiltered unfiltered)
public static boolean isValid(CommitLogReadHandlerImpl.RowType rowType)
public static boolean isDelete(org.apache.cassandra.db.rows.Row row)
public static boolean isInsert(org.apache.cassandra.db.rows.Row row)
public static boolean isUpdate(org.apache.cassandra.db.rows.Row row)
Copyright © 2020 JBoss by Red Hat. All rights reserved.