Class SchemaRecord


  • public class SchemaRecord
    extends Object
    The Record represents a schema change event, it contains either one 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 Detail

      • SchemaRecord

        public SchemaRecord​(io.debezium.relational.history.HistoryRecord historyRecord)
      • SchemaRecord

        public SchemaRecord​(io.debezium.document.Document document)
    • 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()