Package io.debezium.connector.cassandra
Enum Cassandra3CommitLogReadHandlerImpl.RowType
java.lang.Object
java.lang.Enum<Cassandra3CommitLogReadHandlerImpl.RowType>
io.debezium.connector.cassandra.Cassandra3CommitLogReadHandlerImpl.RowType
- All Implemented Interfaces:
Serializable,Comparable<Cassandra3CommitLogReadHandlerImpl.RowType>
- Enclosing class:
- Cassandra3CommitLogReadHandlerImpl
static enum Cassandra3CommitLogReadHandlerImpl.RowType
extends Enum<Cassandra3CommitLogReadHandlerImpl.RowType>
A RowType represents different types of
Row-level modifications in a Cassandra table.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSingle-row deleteSingle-row insertA row-level deletion that deletes a range of keys.Unknown row-level operationSingle-row update -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Set<Cassandra3CommitLogReadHandlerImpl.RowType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRowType(org.apache.cassandra.db.rows.Unfiltered unfiltered) static booleanisDelete(org.apache.cassandra.db.rows.Row row) static booleanisInsert(org.apache.cassandra.db.rows.Row row) static booleanisUpdate(org.apache.cassandra.db.rows.Row row) static booleanReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSERT
Single-row insert -
UPDATE
Single-row update -
DELETE
Single-row delete -
RANGE_TOMBSTONE
A row-level deletion that deletes a range of keys. For example: DELETE * FROM table WHERE partition_key = 1 AND clustering_key > 0; -
UNKNOWN
Unknown row-level operation
-
-
Field Details
-
supportedRowTypes
-
-
Constructor Details
-
RowType
private RowType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getRowType
public static Cassandra3CommitLogReadHandlerImpl.RowType getRowType(org.apache.cassandra.db.rows.Unfiltered unfiltered) -
isValid
-
isDelete
public static boolean isDelete(org.apache.cassandra.db.rows.Row row) -
isInsert
public static boolean isInsert(org.apache.cassandra.db.rows.Row row) -
isUpdate
public static boolean isUpdate(org.apache.cassandra.db.rows.Row row)
-