Class SourceInfo


  • @NotThreadSafe
    public class SourceInfo
    extends BaseSourceInfo
    Coordinates from the database log to establish the relation between the change streamed and the source log position. Maps to source field in Envelope.
    Author:
    Jiri Pechanec
    • Method Detail

      • setChangeLsn

        public void setChangeLsn​(Lsn lsn)
        Parameters:
        lsn - - LSN of the change in the database log
      • getChangeLsn

        public Lsn getChangeLsn()
      • getCommitLsn

        public Lsn getCommitLsn()
      • getEventSerialNo

        public Long getEventSerialNo()
      • setCommitLsn

        public void setCommitLsn​(Lsn commitLsn)
        Parameters:
        commitLsn - - LSN of the COMMIT of the transaction whose part the change is
      • setEventSerialNo

        public void setEventSerialNo​(Long eventSerialNo)
        Parameters:
        eventSerialNo - order of the change with the same value of commit and change LSN
      • setSourceTime

        public void setSourceTime​(Instant instant)
        Parameters:
        instant - a time at which the transaction commit was executed
      • getTableId

        public TableId getTableId()
      • setTableId

        public void setTableId​(TableId tableId)
        Parameters:
        tableId - - source table of the event