Package io.debezium.relational
Class ChangeTable
- java.lang.Object
-
- io.debezium.relational.ChangeTable
-
public class ChangeTable extends Object
A logical representation of a 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, Chris Cranford
-
-
Field Summary
Fields Modifier and Type Field Description private String
captureInstance
private TableId
changeTableId
private int
changeTableObjectId
private Table
sourceTable
The table from which the changes are capturedprivate TableId
sourceTableId
-
Constructor Summary
Constructors Constructor Description ChangeTable(String captureInstance, TableId sourceTableId, TableId changeTableId, int changeTableObjectId)
Creates an object that represents a source table's change table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaptureInstance()
TableId
getChangeTableId()
int
getChangeTableObjectId()
Table
getSourceTable()
TableId
getSourceTableId()
void
setSourceTable(Table sourceTable)
String
toString()
-
-
-
Field Detail
-
captureInstance
private final String captureInstance
-
sourceTableId
private final TableId sourceTableId
-
changeTableId
private final TableId changeTableId
-
changeTableObjectId
private final int changeTableObjectId
-
sourceTable
private Table sourceTable
The table from which the changes are captured
-
-
Constructor Detail
-
ChangeTable
public ChangeTable(String captureInstance, TableId sourceTableId, TableId changeTableId, int changeTableObjectId)
Creates an object that represents a source table's change table.- Parameters:
captureInstance
- the logical name of the change capture processsourceTableId
- the table from which the changes are capturedchangeTableId
- the table that contains the changes for the source tablechangeTableObjectId
- the numeric identifier for the change table in the source database
-
-
Method Detail
-
getCaptureInstance
public String getCaptureInstance()
-
getSourceTableId
public TableId getSourceTableId()
-
getChangeTableId
public TableId getChangeTableId()
-
getChangeTableObjectId
public int getChangeTableObjectId()
-
getSourceTable
public Table getSourceTable()
-
setSourceTable
public void setSourceTable(Table sourceTable)
-
-