Enum Class ValueCaptureType

java.lang.Object
java.lang.Enum<ValueCaptureType>
org.apache.beam.sdk.io.gcp.spanner.changestreams.model.ValueCaptureType
All Implemented Interfaces:
Serializable, Comparable<ValueCaptureType>, Constable

@DefaultCoder(AvroCoder.class) public enum ValueCaptureType extends Enum<ValueCaptureType>
Represents the capture type of a change stream. The only supported value at the moment is OLD_AND_NEW_VALUES, meaning that Mods will include the column values before and after the database operations were applied.
  • Enum Constant Details

  • Method Details

    • values

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