Enum SnapshotRecord

    • Enum Constant Detail

      • TRUE

        public static final SnapshotRecord TRUE
        Record is from snapshot is not the last one.
      • 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 Detail

      • SnapshotRecord

        private SnapshotRecord()
    • Method Detail

      • values

        public static SnapshotRecord[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SnapshotRecord c : SnapshotRecord.values())
            System.out.println(c);
        
        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)