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 <[email protected]>.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Examine the supplied string containing DDL statements, and apply those statements to the specified database table definitions.void
setCurrentDatabase
(String databaseName) void
setCurrentSchema
(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- Throws:
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
-
getDdlChanges
DdlChanges getDdlChanges() -
systemVariables
SystemVariables systemVariables()
-