Package io.debezium.connector.db2
Class Db2ChangeTable
java.lang.Object
io.debezium.relational.ChangeTable
io.debezium.connector.db2.Db2ChangeTable
public class Db2ChangeTable
extends io.debezium.relational.ChangeTable
A logical representation of change table containing changes for a given source table.
There is usually one change table for each source table. When the schema of the source table
is changed then two change tables could be present.
- Author:
- Jiri Pechanec, Peter Urbanetz, Luis Garcés-Erice
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final StringThe table in the CDC schema that captures changes, suitably quoted for Db2private final LsnA LSN from which the data in the change table are relevantprivate LsnA LSN to which the data in the change table are relevant -
Constructor Summary
ConstructorsConstructorDescriptionDb2ChangeTable(io.debezium.relational.TableId sourceTableId, String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn) Db2ChangeTable(String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn) -
Method Summary
Modifier and TypeMethodDescriptionprivate static io.debezium.relational.TableIdresolveChangeTableId(io.debezium.relational.TableId sourceTableId, String captureInstance) voidsetStopLsn(Lsn stopLsn) toString()Methods inherited from class io.debezium.relational.ChangeTable
getChangeTableId, getChangeTableObjectId, getSourceTable, getSourceTableId, setSourceTable
-
Field Details
-
CDC_SCHEMA
- See Also:
-
startLsn
A LSN from which the data in the change table are relevant -
stopLsn
A LSN to which the data in the change table are relevant -
db2CaptureInstance
The table in the CDC schema that captures changes, suitably quoted for Db2
-
-
Constructor Details
-
Db2ChangeTable
-
Db2ChangeTable
-
-
Method Details
-
getCaptureInstance
- Overrides:
getCaptureInstancein classio.debezium.relational.ChangeTable
-
getStartLsn
-
getStopLsn
-
setStopLsn
-
toString
- Overrides:
toStringin classio.debezium.relational.ChangeTable
-
resolveChangeTableId
private static io.debezium.relational.TableId resolveChangeTableId(io.debezium.relational.TableId sourceTableId, String captureInstance)
-