Class AbstractTransaction
java.lang.Object
io.debezium.connector.oracle.logminer.processor.AbstractTransaction
- All Implemented Interfaces:
Transaction
- Direct Known Subclasses:
InfinispanTransaction,MemoryTransaction
An abstract implementation of an Oracle
Transaction.- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the time when the transaction startedintGet the redo thread that the transaction participated on.Get the system change number of when the transaction startedGet the transaction identifierGet the username associated with the transactioninthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.debezium.connector.oracle.logminer.processor.Transaction
getNextEventId, getNumberOfEvents, start
-
Field Details
-
UNKNOWN
- See Also:
-
transactionId
-
startScn
-
changeTime
-
userName
-
redoThreadId
-
-
Constructor Details
-
AbstractTransaction
-
-
Method Details
-
getTransactionId
Description copied from interface:TransactionGet the transaction identifier- Specified by:
getTransactionIdin interfaceTransaction- Returns:
- the transaction unique identifier, never
null
-
getStartScn
Description copied from interface:TransactionGet the system change number of when the transaction started- Specified by:
getStartScnin interfaceTransaction- Returns:
- the system change number, never
null
-
getChangeTime
Description copied from interface:TransactionGet the time when the transaction started- Specified by:
getChangeTimein interfaceTransaction- Returns:
- the timestamp of the transaction, never
null
-
getUserName
Description copied from interface:TransactionGet the username associated with the transaction- Specified by:
getUserNamein interfaceTransaction- Returns:
- the username, may be
null
-
getRedoThreadId
public int getRedoThreadId()Description copied from interface:TransactionGet the redo thread that the transaction participated on.- Specified by:
getRedoThreadIdin interfaceTransaction- Returns:
- the redo thread number
-
equals
-
hashCode
public int hashCode() -
toString
-