Package io.debezium.connector.sqlserver
Class SqlServerChangeTable
- java.lang.Object
-
- io.debezium.relational.ChangeTable
-
- io.debezium.connector.sqlserver.SqlServerChangeTable
-
public class SqlServerChangeTable extends 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
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>capturedColumnsList of columns captured by the CDC table.private static StringCDC_SCHEMAprivate LsnstartLsnA LSN from which the data in the change table are relevantprivate LsnstopLsnA LSN to which the data in the change table are relevant
-
Constructor Summary
Constructors Constructor Description SqlServerChangeTable(TableId sourceTableId, String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn, List<String> capturedColumns)SqlServerChangeTable(String captureInstance, int changeTableObjectId, Lsn startLsn, Lsn stopLsn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCapturedColumns()LsngetStartLsn()LsngetStopLsn()private static TableIdresolveChangeTableId(TableId sourceTableId, String captureInstance)voidsetStopLsn(Lsn stopLsn)StringtoString()-
Methods inherited from class io.debezium.relational.ChangeTable
getCaptureInstance, getChangeTableId, getChangeTableObjectId, getSourceTable, getSourceTableId, setSourceTable
-
-
-
-
Field Detail
-
CDC_SCHEMA
private static final String CDC_SCHEMA
- See Also:
- Constant Field Values
-
startLsn
private final Lsn startLsn
A LSN from which the data in the change table are relevant
-
stopLsn
private Lsn stopLsn
A LSN to which the data in the change table are relevant
-
capturedColumns
@Immutable private final List<String> capturedColumns
List of columns captured by the CDC table.
-
-