Package org.apache.beam.sdk.values
Enum Class ValueKind
- All Implemented Interfaces:
Serializable,Comparable<ValueKind>,Constable
The type of change operation represented by a Change Data Capture (CDC) record.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that an existing record was removed from the source system.Indicates a new record was created in the source system.Indicates the state of a record immediately after an update occurred.Indicates the state of a record immediately before an update occurred. -
Method Summary
-
Enum Constant Details
-
INSERT
Indicates a new record was created in the source system. -
UPDATE_BEFORE
Indicates the state of a record immediately before an update occurred. This is typically used to identify the previous values of modified columns or to locate the record via its primary key. -
UPDATE_AFTER
Indicates the state of a record immediately after an update occurred. Represents the current, valid state of the record following the change. -
DELETE
Indicates that an existing record was removed from the source system.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-