java.lang.Object
java.lang.Enum<WriteMode>
io.github.flink.gcp.connector.bigtable.table.WriteMode
All Implemented Interfaces:
Serializable, Comparable<WriteMode>, java.lang.constant.Constable

@PublicEvolving public enum WriteMode extends Enum<WriteMode>
Destination-side write operation selected by sink.write-mode.
  • Enum Constant Details

    • UPSERT

      public static final WriteMode UPSERT
      Writes cells through the ordinary mutation batcher.
    • INSERT_IF_ABSENT

      public static final WriteMode INSERT_IF_ABSENT
      Atomically writes input cells only when the entire stored row has no cell.
    • CONDITIONAL

      public static final WriteMode CONDITIONAL
      Executes a DDL-defined predicate and ordered mutation branches for each input row.
    • KEEP_LATEST

      public static final WriteMode KEEP_LATEST
      Atomically deletes all versions of each written cell before setting its replacement.
    • APPEND

      public static final WriteMode APPEND
      Atomically appends each nonnull input cell to its latest stored value.
    • INCREMENT

      public static final WriteMode INCREMENT
      Atomically adds each nonnull BIGINT input cell to its latest stored integer.
    • AGGREGATE

      public static final WriteMode AGGREGATE
      Adds integer contributions to aggregate column families.
  • Method Details

    • values

      public static WriteMode[] 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 WriteMode 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<WriteMode>