Package org.apache.cassandra.cdc.avro
Enum CdcEventUtils.OperationType
- java.lang.Object
-
- java.lang.Enum<CdcEventUtils.OperationType>
-
- org.apache.cassandra.cdc.avro.CdcEventUtils.OperationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CdcEventUtils.OperationType>
- Enclosing class:
- CdcEventUtils
public static enum CdcEventUtils.OperationType extends java.lang.Enum<CdcEventUtils.OperationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLEX_ELEMENT_DELETEDELETEDELETE_PARTITIONDELETE_RANGEINSERTUPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CdcEventUtils.OperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CdcEventUtils.OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE
public static final CdcEventUtils.OperationType UPDATE
-
INSERT
public static final CdcEventUtils.OperationType INSERT
-
DELETE
public static final CdcEventUtils.OperationType DELETE
-
COMPLEX_ELEMENT_DELETE
public static final CdcEventUtils.OperationType COMPLEX_ELEMENT_DELETE
-
DELETE_RANGE
public static final CdcEventUtils.OperationType DELETE_RANGE
-
DELETE_PARTITION
public static final CdcEventUtils.OperationType DELETE_PARTITION
-
-
Method Detail
-
values
public static CdcEventUtils.OperationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CdcEventUtils.OperationType c : CdcEventUtils.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CdcEventUtils.OperationType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-