Enum ValueCaptureType
- All Implemented Interfaces:
Serializable,Comparable<ValueCaptureType>
Represents the capture type of a change stream.
OLD_AND_NEW_VALUES: captures the column values before and after the
database operations were applied.
NEW_ROW: captures the new values for the entire tracked row:
For inserts, returns all the inserted columns.
For updates, returns new values for both changed and unchanged columns for the entire tracked row. Does not return the old values.
For deletes, returns nothing
NEW_VALUES: only captures new values for the changed columns
For inserts, returns all the inserted columns.
For updates, returns new values for the changed columns. Does not return the old values.
For deletes, returns nothing
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValueCaptureTypeReturns the enum constant of this type with the specified name.static ValueCaptureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OLD_AND_NEW_VALUES
-
NEW_ROW
-
NEW_VALUES
-
-
Constructor Details
-
ValueCaptureType
private ValueCaptureType()
-
-
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
-