public interface DdlParser
| Modifier and Type | Method and Description |
|---|---|
DdlChanges |
getDdlChanges() |
void |
parse(String ddlContent,
Tables databaseTables)
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.
|
SystemVariables |
systemVariables() |
String |
terminator()
The token used to terminate a DDL statement.
|
void parse(String ddlContent, Tables databaseTables)
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 nullParsingException - if there is a problem parsing the supplied contentvoid setCurrentDatabase(String databaseName)
void setCurrentSchema(String schemaName)
schemaName - the name of the current schema; may be nullDdlChanges getDdlChanges()
String terminator()
SystemVariables systemVariables()
Copyright © 2018 JBoss by Red Hat. All rights reserved.