public interface DatabaseSQLGenerator
Modifier and Type | Method and Description |
---|---|
String |
getCreateIndexSql(String dialectName,
String packgeName,
String tableName,
String indexName)
返回索引SQL
|
String |
getCreateProcedureSql(String dialectName,
String packgeName,
String procedureName)
返回创建存储过程SQL
|
String |
getCreateTableSql(String dialectName,
String packgeName,
String tableName)
返回建表语句
|
String |
getCreateViewSql(String dialectName,
String packgeName,
String viewName)
返回视图创建SQL语句
|
String |
getCustomSql(String dialectName,
String packgeName,
String customSqlName)
返回自定义SQL的SQL语句
|
List<String> |
getInitDataSql(String dialectName,
String tableName)
返回初始化脚本
|
String getCustomSql(String dialectName, String packgeName, String customSqlName)
dialectName
- 方言名称packgeName
- 包名customSqlName
- 自定义Sql名称String getCreateTableSql(String dialectName, String packgeName, String tableName)
dialectName
- packgeName
- tableName
- String getCreateViewSql(String dialectName, String packgeName, String viewName)
dialectName
- packgeName
- viewName
- String getCreateIndexSql(String dialectName, String packgeName, String tableName, String indexName)
dialectName
- packgeName
- indexName
- String getCreateProcedureSql(String dialectName, String packgeName, String procedureName)
dialectName
- packgeName
- procedureName
- Copyright © 2006–2018 TinyGroup. All rights reserved.