Class Db2ChangeTable

java.lang.Object
io.debezium.relational.ChangeTable
io.debezium.connector.db2.Db2ChangeTable

public class Db2ChangeTable extends io.debezium.relational.ChangeTable
A logical representation of change table containing changes for a given source table. There is usually one change table for each source table. When the schema of the source table is changed then two change tables could be present.
Author:
Jiri Pechanec, Peter Urbanetz, Luis Garcés-Erice
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
    The table in the CDC schema that captures changes, suitably quoted for Db2
    private final Lsn
    A LSN from which the data in the change table are relevant
    private Lsn
    A LSN to which the data in the change table are relevant
  • Constructor Summary

    Constructors
    Constructor
    Description
    Db2ChangeTable(io.debezium.relational.TableId sourceTableId, String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn, String tableCdcSchema)
     
    Db2ChangeTable(String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn, String tableCdcSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    private static io.debezium.relational.TableId
    resolveChangeTableId(io.debezium.relational.TableId sourceTableId, String captureInstance, String cdcSchema)
     
    void
    setStopLsn(Lsn stopLsn)
     
     

    Methods inherited from class io.debezium.relational.ChangeTable

    equals, getChangeTableId, getChangeTableObjectId, getSourceTable, getSourceTableId, hashCode, setSourceTable

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • startLsn

      private final Lsn startLsn
      A LSN from which the data in the change table are relevant
    • stopLsn

      private Lsn stopLsn
      A LSN to which the data in the change table are relevant
    • db2CaptureInstance

      private final String db2CaptureInstance
      The table in the CDC schema that captures changes, suitably quoted for Db2
  • Constructor Details

    • Db2ChangeTable

      public Db2ChangeTable(io.debezium.relational.TableId sourceTableId, String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn, String tableCdcSchema)
    • Db2ChangeTable

      public Db2ChangeTable(String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn, String tableCdcSchema)
  • Method Details

    • getCaptureInstance

      public String getCaptureInstance()
      Overrides:
      getCaptureInstance in class io.debezium.relational.ChangeTable
    • getStartLsn

      public Lsn getStartLsn()
    • getStopLsn

      public Lsn getStopLsn()
    • setStopLsn

      public void setStopLsn(Lsn stopLsn)
    • toString

      public String toString()
      Overrides:
      toString in class io.debezium.relational.ChangeTable
    • resolveChangeTableId

      private static io.debezium.relational.TableId resolveChangeTableId(io.debezium.relational.TableId sourceTableId, String captureInstance, String cdcSchema)