Package io.debezium.connector.db2
Class Db2StreamingChangeEventSource.ChangeTablePointer
java.lang.Object
io.debezium.pipeline.source.spi.ChangeTableResultSet<Db2ChangeTable,TxLogPosition>
io.debezium.connector.db2.Db2StreamingChangeEventSource.ChangeTablePointer
- Enclosing class:
- Db2StreamingChangeEventSource
private static class Db2StreamingChangeEventSource.ChangeTablePointer
extends io.debezium.pipeline.source.spi.ChangeTableResultSet<Db2ChangeTable,TxLogPosition>
The logical representation of a position for the change in the transaction log.
During each sourcing cycle it is necessary to query all change tables and then
make a total order of changes across all tables.
This class represents an open database cursor over the change table that is able to move the cursor forward and report the LSN for the change to which the cursor now points.
This class represents an open database cursor over the change table that is able to move the cursor forward and report the LSN for the change to which the cursor now points.
- Author:
- Jiri Pechanec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TxLogPositiongetNextChangePosition(ResultSet resultSet) protected intgetOperation(ResultSet resultSet) Methods inherited from class io.debezium.pipeline.source.spi.ChangeTableResultSet
compareTo, getChangePosition, getChangeTable, getColumnData, getData, getOperation, getPreviousChangePosition, isCompleted, isCurrentPositionSmallerThanPreviousPosition, next, toString
-
Constructor Details
-
ChangeTablePointer
ChangeTablePointer(Db2ChangeTable changeTable, ResultSet resultSet)
-
-
Method Details
-
getOperation
- Specified by:
getOperationin classio.debezium.pipeline.source.spi.ChangeTableResultSet<Db2ChangeTable,TxLogPosition> - Throws:
SQLException
-
getNextChangePosition
- Specified by:
getNextChangePositionin classio.debezium.pipeline.source.spi.ChangeTableResultSet<Db2ChangeTable,TxLogPosition> - Throws:
SQLException
-