Enum Class Changefeed.Mode

java.lang.Object
java.lang.Enum<Changefeed.Mode>
tech.ydb.yoj.databind.schema.Changefeed.Mode
All Implemented Interfaces:
Serializable, Comparable<Changefeed.Mode>, Constable
Enclosing class:
Changefeed

public static enum Changefeed.Mode extends Enum<Changefeed.Mode>
  • Enum Constant Details

    • KEYS_ONLY

      public static final Changefeed.Mode KEYS_ONLY
      Only the key component of the modified row
    • UPDATES

      public static final Changefeed.Mode UPDATES
      Updated columns
    • NEW_IMAGE

      public static final Changefeed.Mode NEW_IMAGE
      The entire row, as it appears after it was modified
    • OLD_IMAGE

      public static final Changefeed.Mode OLD_IMAGE
      The entire row, as it appeared before it was modified
    • NEW_AND_OLD_IMAGES

      public static final Changefeed.Mode NEW_AND_OLD_IMAGES
      Both new and old images of the row
  • Method Details

    • values

      public static Changefeed.Mode[] 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 Changefeed.Mode 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