public class SchemaRecord extends Object
HistoryRecord or
TableChanges.TableChange.
The HistoryRecord will be used by FlinkDatabaseHistory which keeps full
history of table change events for all tables, the TableChanges.TableChange will be used by FlinkDatabaseSchemaHistory which keeps the latest table change for each table.
| Constructor and Description |
|---|
SchemaRecord(io.debezium.document.Document document) |
SchemaRecord(io.debezium.relational.history.HistoryRecord historyRecord) |
| Modifier and Type | Method and Description |
|---|---|
io.debezium.relational.history.HistoryRecord |
getHistoryRecord() |
io.debezium.document.Document |
getTableChangeDoc() |
boolean |
isHistoryRecord() |
boolean |
isTableChangeRecord() |
io.debezium.document.Document |
toDocument() |
String |
toString() |
public SchemaRecord(io.debezium.relational.history.HistoryRecord historyRecord)
public SchemaRecord(io.debezium.document.Document document)
@Nullable public io.debezium.relational.history.HistoryRecord getHistoryRecord()
@Nullable public io.debezium.document.Document getTableChangeDoc()
public boolean isHistoryRecord()
public boolean isTableChangeRecord()
public io.debezium.document.Document toDocument()
Copyright © 2022 The Apache Software Foundation. All rights reserved.