Package io.debezium.relational.ddl
Interface DdlParser
- All Known Implementing Classes:
AbstractDdlParser
public interface DdlParser
A parser interface for DDL statements.
- Author:
- Roman Kuchár invalid input: '<'kucharrom@gmail.com>.
-
Method Summary
Modifier and TypeMethodDescriptionExamine the supplied string containing DDL statements, and apply those statements to the specified database table definitions.voidsetCurrentDatabase(String databaseName) voidsetCurrentSchema(String schemaName) Set the name of the current schema.
-
Method Details
-
parse
Examine the supplied string containing DDL statements, and apply those statements to the specified database table definitions.- Parameters:
ddlContent- the stream of tokens containing the DDL statements; may not be nulldatabaseTables- the database's table definitions, which should be used by this method to create, change, or remove tables as defined in the DDL content; may not be null- Returns:
- the changes that were made to the database tables; never null
- Throws:
io.debezium.text.ParsingException- if there is a problem parsing the supplied content
-
setCurrentDatabase
-
setCurrentSchema
Set the name of the current schema.- Parameters:
schemaName- the name of the current schema; may be null
-
systemVariables
SystemVariables systemVariables()
-