Class Db2ChangeRecordEmitter

java.lang.Object
io.debezium.pipeline.AbstractChangeRecordEmitter<P,io.debezium.relational.TableSchema>
io.debezium.relational.RelationalChangeRecordEmitter
io.debezium.connector.db2.Db2ChangeRecordEmitter
All Implemented Interfaces:
io.debezium.pipeline.spi.ChangeRecordEmitter

public class Db2ChangeRecordEmitter extends io.debezium.relational.RelationalChangeRecordEmitter
Emits change data based on a single (or two in case of updates) CDC data row(s).
Author:
Jiri Pechanec
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.debezium.pipeline.spi.ChangeRecordEmitter

    io.debezium.pipeline.spi.ChangeRecordEmitter.Receiver<P extends io.debezium.pipeline.spi.Partition>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Object[]
     
    private final Object[]
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    private final int
     

    Fields inherited from class io.debezium.relational.RelationalChangeRecordEmitter

    PK_UPDATE_NEWKEY_FIELD, PK_UPDATE_OLDKEY_FIELD
  • Constructor Summary

    Constructors
    Constructor
    Description
    Db2ChangeRecordEmitter(io.debezium.pipeline.spi.Partition partition, io.debezium.pipeline.spi.OffsetContext offset, int operation, Object[] data, Object[] dataNext, io.debezium.util.Clock clock)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object[]
     
    protected Object[]
     
    io.debezium.data.Envelope.Operation
     

    Methods inherited from class io.debezium.relational.RelationalChangeRecordEmitter

    emitChangeRecords, emitCreateRecord, emitDeleteRecord, emitReadRecord, emitTruncateRecord, emitUpdateRecord, skipEmptyMessages

    Methods inherited from class io.debezium.pipeline.AbstractChangeRecordEmitter

    getClock, getOffset, getPartition

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Db2ChangeRecordEmitter

      public Db2ChangeRecordEmitter(io.debezium.pipeline.spi.Partition partition, io.debezium.pipeline.spi.OffsetContext offset, int operation, Object[] data, Object[] dataNext, io.debezium.util.Clock clock)
  • Method Details

    • getOperation

      public io.debezium.data.Envelope.Operation getOperation()
    • getOldColumnValues

      protected Object[] getOldColumnValues()
      Specified by:
      getOldColumnValues in class io.debezium.relational.RelationalChangeRecordEmitter
    • getNewColumnValues

      protected Object[] getNewColumnValues()
      Specified by:
      getNewColumnValues in class io.debezium.relational.RelationalChangeRecordEmitter