Enum ValueCaptureType

java.lang.Object
java.lang.Enum<ValueCaptureType>
io.debezium.connector.spanner.db.model.ValueCaptureType
All Implemented Interfaces:
Serializable, Comparable<ValueCaptureType>

public enum ValueCaptureType extends Enum<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 Details

  • Constructor Details

    • ValueCaptureType

      private ValueCaptureType()
  • Method Details

    • values

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

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