public interface DatabaseDocumentGenerator<Document>
Modifier and Type | Method and Description |
---|---|
void |
generateCreateIndexSql(Document document,
String dialectName,
String packgeName,
String tableName,
String indexName)
返回索引SQL
|
void |
generateCreateProcedureSql(Document document,
String dialectName,
String packgeName,
String procedureName)
返回创建存储过程SQL
|
void |
generateCreateTableSql(Document document,
String dialectName,
String packgeName,
String tableName)
返回建表语句
|
void |
generateCreateViewSql(Document document,
String dialectName,
String packgeName,
String viewName)
返回视图创建SQL语句
|
void |
generateCustomSql(Document document,
String dialectName,
String packgeName,
String customSqlName) |
void |
generateInitDataSql(Document document,
String dialectName,
String tableName)
返回初始化脚本
|
void generateCustomSql(Document document, String dialectName, String packgeName, String customSqlName)
void generateCreateTableSql(Document document, String dialectName, String packgeName, String tableName)
dialectName
- packgeName
- tableName
- void generateCreateViewSql(Document document, String dialectName, String packgeName, String viewName)
dialectName
- packgeName
- viewName
- void generateCreateIndexSql(Document document, String dialectName, String packgeName, String tableName, String indexName)
dialectName
- packgeName
- indexName
- void generateCreateProcedureSql(Document document, String dialectName, String packgeName, String procedureName)
dialectName
- packgeName
- procedureName
- Copyright © 2006–2018 TinyGroup. All rights reserved.