Class TxLogPosition

java.lang.Object
io.debezium.connector.db2.TxLogPosition
All Implemented Interfaces:
io.debezium.connector.Nullable, Comparable<TxLogPosition>

public class TxLogPosition extends Object implements io.debezium.connector.Nullable, Comparable<TxLogPosition>
Defines a position of change in the transaction log. The position is defined as a combination of commit LSN and sequence number of the change in the given transaction. The sequence number is monotonically increasing in transaction but it is not guaranteed across multiple transactions so the combination is necessary to get total order.
Author:
Jiri Pechanec
  • Field Details

    • NULL

      public static final TxLogPosition NULL
    • commitLsn

      private final Lsn commitLsn
    • inTxLsn

      private final Lsn inTxLsn
  • Constructor Details

    • TxLogPosition

      private TxLogPosition(Lsn commitLsn, Lsn inTxLsn)
  • Method Details