Enum CdcTableReconciliationPolicy

java.lang.Object
java.lang.Enum<CdcTableReconciliationPolicy>
io.github.flink.gcp.connector.bigquery.sink.CdcTableReconciliationPolicy
All Implemented Interfaces:
Serializable, Comparable<CdcTableReconciliationPolicy>, java.lang.constant.Constable

@Experimental public enum CdcTableReconciliationPolicy extends Enum<CdcTableReconciliationPolicy>
Policy for a BigQuery CDC destination table that already exists.
  • Enum Constant Details

    • VERIFY_ONLY

      public static final CdcTableReconciliationPolicy VERIFY_ONLY
      Verify the CDC table contract without starting adoption or drift repair.

      A matching connector-owned pending attempt is resumed so an interrupted operation can finish.

    • RECONCILE

      public static final CdcTableReconciliationPolicy RECONCILE
      Reconcile mutable CDC table properties while rejecting primary-key drift.
  • Method Details

    • values

      public static CdcTableReconciliationPolicy[] 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 CdcTableReconciliationPolicy 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()
      Returns the lower-case spelling used by the Table API option.
      Overrides:
      toString in class Enum<CdcTableReconciliationPolicy>