Class SchemaRecord
- java.lang.Object
-
- org.apache.flink.cdc.debezium.internal.SchemaRecord
-
public class SchemaRecord extends Object
The Record represents a schema change event, it contains either oneHistoryRecordorTableChanges.TableChange.The
HistoryRecordwill be used byFlinkDatabaseHistorywhich keeps full history of table change events for all tables, theTableChanges.TableChangewill be used byFlinkDatabaseSchemaHistorywhich keeps the latest table change for each table.
-
-
Constructor Summary
Constructors Constructor Description SchemaRecord(io.debezium.document.Document document)SchemaRecord(io.debezium.relational.history.HistoryRecord historyRecord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.debezium.relational.history.HistoryRecordgetHistoryRecord()io.debezium.document.DocumentgetTableChangeDoc()booleanisHistoryRecord()booleanisTableChangeRecord()io.debezium.document.DocumenttoDocument()StringtoString()
-
-
-
Method Detail
-
getHistoryRecord
@Nullable public io.debezium.relational.history.HistoryRecord getHistoryRecord()
-
getTableChangeDoc
@Nullable public io.debezium.document.Document getTableChangeDoc()
-
isHistoryRecord
public boolean isHistoryRecord()
-
isTableChangeRecord
public boolean isTableChangeRecord()
-
toDocument
public io.debezium.document.Document toDocument()
-
-