Enum SnapshotRecord

java.lang.Object
java.lang.Enum<SnapshotRecord>
io.debezium.connector.SnapshotRecord
All Implemented Interfaces:
Serializable, Comparable<SnapshotRecord>

public enum SnapshotRecord extends Enum<SnapshotRecord>
Describes whether the change record comes from snapshot and if it is the last one
Author:
Jiri Pechanec
  • Enum Constant Details

    • TRUE

      public static final SnapshotRecord TRUE
      Record is from snapshot is not the last one.
    • FIRST

      public static final SnapshotRecord FIRST
      Record is from snapshot is the first record generated in snapshot phase.
    • FIRST_IN_DATA_COLLECTION

      public static final SnapshotRecord FIRST_IN_DATA_COLLECTION
      Record is from snapshot and the first record generated from the table, but not in the entire snapshot.
    • LAST_IN_DATA_COLLECTION

      public static final SnapshotRecord LAST_IN_DATA_COLLECTION
      Record is from snapshot and the last record generated from the table, but not in the entire snapshot.
    • LAST

      public static final SnapshotRecord LAST
      Record is from snapshot is the last record generated in snapshot phase.
    • FALSE

      public static final SnapshotRecord FALSE
      Record is from streaming phase.
    • INCREMENTAL

      public static final SnapshotRecord INCREMENTAL
      Record is from incremental snapshot window.
  • Constructor Details

    • SnapshotRecord

      private SnapshotRecord()
  • Method Details

    • values

      public static SnapshotRecord[] 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 SnapshotRecord 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
    • fromSource

      public static SnapshotRecord fromSource(org.apache.kafka.connect.data.Struct source)
    • toSource

      public void toSource(org.apache.kafka.connect.data.Struct source)