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
ConstructorsConstructorDescriptionAbstractTransaction(String transactionId, Scn startScn, Instant changeTime, String userName) -
Method Summary
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
-
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-