public class ScriptTransformator extends DDLScriptSqlMetaFactory
| Modifier and Type | Class and Description |
|---|---|
protected class |
ScriptTransformator.CreateIndexBuilder |
protected class |
ScriptTransformator.DropTableBuilder |
protected class |
ScriptTransformator.DropTriggerBuilder |
protected class |
ScriptTransformator.TableAlterColumnsBuilder |
protected class |
ScriptTransformator.TransformDezignCreateTableBuilder |
DDLScriptSqlMetaFactory.CatalogBuilder, DDLScriptSqlMetaFactory.DezignCreateTableBuilder| Constructor and Description |
|---|
ScriptTransformator(DDLExpressions ddlSpecification,
PrintWriter target,
CatalogConversion catalogConversion,
FreemarkerFileGenerator templateEngine) |
| Modifier and Type | Method and Description |
|---|---|
void |
doCommit() |
void |
doRollback() |
protected void |
init() |
void |
visitComment(String theComment) |
int |
visitStatement(String statement)
parse the statement and create the adequate parts of the Catalog
|
compileExpressions, fillCatalog, fillCatalog, getBuilders, getCatalog, getDdlSpec, getExtractor, setCatalogpublic ScriptTransformator(DDLExpressions ddlSpecification, PrintWriter target, CatalogConversion catalogConversion, FreemarkerFileGenerator templateEngine)
protected void init()
init in class DDLScriptSqlMetaFactorypublic void visitComment(String theComment) throws SQLException
visitComment in interface ScriptVisitorvisitComment in class DDLScriptSqlMetaFactorySQLExceptionpublic int visitStatement(String statement) throws SQLException
visitStatement in interface ScriptVisitorvisitStatement in class DDLScriptSqlMetaFactorystatement - - a DDL statement (Oracle syntax)SQLExceptionpublic void doCommit()
throws SQLException
doCommit in interface ScriptVisitordoCommit in class DDLScriptSqlMetaFactorySQLExceptionpublic void doRollback()
throws SQLException
doRollback in interface ScriptVisitordoRollback in class DDLScriptSqlMetaFactorySQLExceptionCopyright © 2008–2018. All rights reserved.