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.
| 构造器和说明 |
|---|
SchemaRecord(io.debezium.document.Document document) |
SchemaRecord(io.debezium.relational.history.HistoryRecord historyRecord) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2025 The Apache Software Foundation. All rights reserved.