Class MySqlSchema

    • Constructor Detail

      • MySqlSchema

        public MySqlSchema​(MySqlSourceConfig sourceConfig,
                           boolean isTableIdCaseSensitive)
    • Method Detail

      • getTableSchema

        public io.debezium.relational.history.TableChanges.TableChange getTableSchema​(io.debezium.connector.mysql.MySqlPartition partition,
                                                                                      io.debezium.jdbc.JdbcConnection jdbc,
                                                                                      io.debezium.relational.TableId tableId)
        Gets table schema for the given table path. It will request to MySQL server by running `SHOW CREATE TABLE` if cache missed.