Package com.hazelcast.jet.cdc
Enum Class Operation
- All Implemented Interfaces:
- Serializable,- Comparable<Operation>,- Constable
Describes the nature of a CDC event, mainly the type of action performed
 on a database record: insertion, update and deletion. There are also
 some special values: "sync", which has the same effect as an insert, but
 originates from the initial database snapshot (as opposed to the
 database changelog), and "unspecified", used for a few special CDC
 events (like heartbeats).
- Since:
- Jet 4.2
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRecord deletion, sourced from the DB changelog.Record insertion, sourced from the DB changelog.Just likeINSERT, but coming from the initial DB snapshot (as opposed to the change log).ChangeRecorddoesn't have an operation field, for example heartbeats.Record update, sourced from the DB changelog.
- 
Method SummaryModifier and TypeMethodDescriptioncode()Returns the Debezium operation code as String.static OperationParses the string present in a CDC message into the correspondingOperationenum member.static OperationReturns the enum constant of this class with the specified name.static Operation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
UNSPECIFIEDChangeRecorddoesn't have an operation field, for example heartbeats.
- 
SYNCJust likeINSERT, but coming from the initial DB snapshot (as opposed to the change log).
- 
INSERTRecord insertion, sourced from the DB changelog.
- 
UPDATERecord update, sourced from the DB changelog.
- 
DELETERecord deletion, sourced from the DB changelog.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
codeReturns the Debezium operation code as String.
- 
getParses the string present in a CDC message into the correspondingOperationenum member.If the argument is null, it returnsUNSPECIFIED.- Throws:
- ParsingException- if the input string doesn't represent an expected value
 
 
-