Enum InsertOnlyInputMode

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

@PublicEvolving public enum InsertOnlyInputMode extends Enum<InsertOnlyInputMode>
What the Bigtable table sink tells the planner when the requested changelog is insert-only.
  • Enum Constant Details

    • UPSERT

      public static final InsertOnlyInputMode UPSERT
      Advertise the sink's physical upsert behavior and enable Flink conflict strategies.
    • INSERT_ONLY

      public static final InsertOnlyInputMode INSERT_ONLY
      Advertise an append sink so a plain insert remains portable across supported Flink lines.
  • Method Details

    • values

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