Package io.debezium.connector.sqlserver
Class TxLogPosition
java.lang.Object
io.debezium.connector.sqlserver.TxLogPosition
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()booleantoString()static TxLogPositionstatic TxLogPosition
-
Field Details
-
NULL
-
commitLsn
-
inTxLsn
-
-
Constructor Details
-
TxLogPosition
-
-
Method Details
-
getCommitLsn
-
getInTxLsn
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<TxLogPosition>
-
valueOf
-
valueOf
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein interfaceNullable
-