Enum Class ValueKind

java.lang.Object
java.lang.Enum<ValueKind>
org.apache.beam.sdk.values.ValueKind
All Implemented Interfaces:
Serializable, Comparable<ValueKind>, Constable

public enum ValueKind extends Enum<ValueKind>
The type of change operation represented by a Change Data Capture (CDC) record.
  • Enum Constant Details

    • INSERT

      public static final ValueKind INSERT
      Indicates a new record was created in the source system.
    • UPDATE_BEFORE

      public static final ValueKind 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

      public static final ValueKind 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

      public static final ValueKind DELETE
      Indicates that an existing record was removed from the source system.
  • Method Details

    • values

      public static ValueKind[] 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

      public static ValueKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null