Package io.debezium.data
Enum Envelope.Operation
- All Implemented Interfaces:
Serializable
,Comparable<Envelope.Operation>
- Enclosing class:
- Envelope
The constants for the values for the
operation
field in the message envelope.-
Enum Constant Summary
Enum ConstantDescriptionAn operation that resulted in a new record being created in the source.An operation that resulted in an existing record being removed from or deleted in the source.An operation that resulted in a generic messageThe operation that read the current state of a record, most typically during snapshots.An operation that resulted in an existing table being truncated in the source.An operation that resulted in an existing record being updated in the source. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
static Envelope.Operation
static Envelope.Operation
Returns the enum constant of this type with the specified name.static Envelope.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
READ
The operation that read the current state of a record, most typically during snapshots. -
CREATE
An operation that resulted in a new record being created in the source. -
UPDATE
An operation that resulted in an existing record being updated in the source. -
DELETE
An operation that resulted in an existing record being removed from or deleted in the source. -
TRUNCATE
An operation that resulted in an existing table being truncated in the source. -
MESSAGE
An operation that resulted in a generic message
-
-
Field Details
-
code
-
-
Constructor Details
-
Operation
-
-
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
-
forCode
-
code
-