接口 Dialect
public interface Dialect
database dialect.
-
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classDialect.KeyworldThe Class Keyworld. -
字段概要
字段 修饰符和类型 字段 说明 static intDEFAULT_LIMIT默认的查询返回条数.static java.lang.StringLIMIT_PARAM_NAME命名参数查询的查询条件默认数量名称.static charPARAM_NAME_START_SYMBOLThe param name start symbol.static java.lang.StringPRIMARY_KEY_INDEX_NAMEThe primary key index name.static java.lang.StringSTART_PARAM_NAME命名参数查询的查询条件默认起始位置名称. -
方法概要
修饰符和类型 方法 说明 default java.lang.StringbuildAlterTableAddColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table add column DDL.java.lang.StringbuildAlterTableAddColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table add column DDL.default java.lang.StringbuildAlterTableDDL(java.lang.String tableName)Builds the alter table sql.default java.lang.StringbuildAlterTableDDL(java.lang.String schema, java.lang.String tableName)Builds the alter table sql.java.lang.StringbuildAlterTableDDL(java.lang.String schema, java.lang.String tableName, Column[] addColumns, Column[] modifyColumns, Column[] dropColumns)Builds the alter table DDL.default java.lang.StringbuildAlterTableDropColumnDDL(Column column)Builds the alter table drop column DDL.default java.lang.StringbuildAlterTableDropColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table drop column DDL.java.lang.StringbuildAlterTableDropColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table drop column DDL.java.lang.StringbuildAlterTableDropColumnDDL(java.lang.String schema, java.lang.String tableName, java.lang.String... columnNames)Builds the alter table drop column DDL.default java.lang.StringbuildAlterTableModifyColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table modify column DDL.java.lang.StringbuildAlterTableModifyColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table modify column DDL.default java.lang.StringbuildColumnSql(java.lang.String columnName, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction)build sql for column with aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, cn.featherfly.common.repository.operate.Function function)build sql for column with aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, java.lang.String tableAlias)build sql for column with aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction)build sql for column with tableAlias and aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction, java.lang.String asName)build sql for column with tableAlias and aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.Function function)build sql for column with tableAlias and aggregate function.default java.lang.StringbuildColumnSql(java.lang.String columnName, java.lang.String tableAlias, java.lang.String asName)build sql for column with aggregate function.default java.lang.StringbuildCreateDataBaseDDL(java.lang.String dataBaseName)Builds the create data base sql.default java.lang.StringbuildCreateIndexDDL(java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns)Builds the create index DDL.default java.lang.StringbuildCreateIndexDDL(java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns, boolean unique)Builds the create index DDL.default java.lang.StringbuildCreateIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns)Builds the create index DDL.default java.lang.StringbuildCreateIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns, boolean unique)Builds the create index DDL.default java.lang.StringbuildCreateSchemaDDL(java.lang.String schemaName)Builds the create schema DDL.java.lang.StringbuildCreateTableDDL(Table table)Builds the create table sql.default java.lang.StringbuildDropDataBaseDDL(java.lang.String dataBaseName)Builds the drop data base sql.default java.lang.StringbuildDropDataBaseDDL(java.lang.String dataBaseName, boolean ifExists)Builds the drop data base sql.default java.lang.StringbuildDropDDL(java.lang.String schema, java.lang.String name, Keywords type, boolean ifExists)Builds the drop DDL.default java.lang.StringbuildDropIndexDDL(java.lang.String tableName, java.lang.String indexName)Builds the drop index sql.default java.lang.StringbuildDropIndexDDL(java.lang.String tableName, java.lang.String indexName, boolean ifExists)Builds the drop index sql.default java.lang.StringbuildDropIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName)Builds the drop index sql.default java.lang.StringbuildDropIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, boolean ifExists)Builds the drop index sql.default java.lang.StringbuildDropSchemaDDL(java.lang.String schemaName)Builds the drop schema DDL.default java.lang.StringbuildDropSchemaDDL(java.lang.String schemaName, boolean ifExists)Builds the drop schema DDL.default java.lang.StringbuildDropTableDDL(java.lang.String tableName)Builds the drop table sql.default java.lang.StringbuildDropTableDDL(java.lang.String tableName, boolean ifExists)Builds the drop table sql.default java.lang.StringbuildDropTableDDL(java.lang.String schema, java.lang.String tableName)Builds the drop table sql.default java.lang.StringbuildDropTableDDL(java.lang.String schema, java.lang.String tableName, boolean ifExists)Builds the drop table sql.default java.lang.StringbuildDropTableDDL(java.lang.String schema, java.lang.String tableName, boolean ifExists, boolean cascade)Builds the drop table sql.default java.lang.StringbuildDropViewDDL(java.lang.String viewName)Builds the drop view sql.default java.lang.StringbuildDropViewDDL(java.lang.String schema, java.lang.String viewName)Builds the drop view sql.default java.lang.StringbuildDropViewDDL(java.lang.String schema, java.lang.String viewName, boolean ifExists)Builds the drop view sql.default java.lang.StringbuildInsertBatchSql(java.lang.String tableName, java.lang.String[] columnNames, int insertAmount)dialect for database supports batch insert.default java.lang.StringbuildTableSql(TableElement table)build sql for table.default java.lang.StringbuildTableSql(java.lang.String tableName)build sql for table.default java.lang.StringbuildTableSql(java.lang.String tableName, java.lang.String tableAlias)build sql for table with tableAlias.default java.lang.StringconvertTableOrColumnName(java.lang.String tableOrColumnName)convert column or table name if necessary.default java.lang.StringgetColumnTypeName(java.sql.SQLType sqlType)Gets the column type name.default java.lang.StringgetDefaultSchema(java.lang.String catalog)Gets the default schema.default intgetDefaultSize(java.sql.SQLType sqlType)Gets the default size.default java.lang.StringgetFunction(cn.featherfly.common.repository.operate.Function function)get converted aggregate function.java.lang.StringgetInitSqlFooter()Gets the inits the sql footer.java.lang.StringgetInitSqlHeader()Gets the inits the sql header.default java.lang.StringgetKeyword(Keywords keywords)get converted keywords.default java.lang.StringgetKeyword(cn.featherfly.common.repository.operate.LogicOperator keywords)get converted keywords.default java.lang.StringgetKeyword(cn.featherfly.common.repository.operate.SortOperator keywords)get converted keywords.default Dialect.KeyworldgetKeywords()get converted keywords.java.lang.StringgetPaginationSql(java.lang.String sql, int start, int limit)转换普通sql为带分页的sqljava.lang.Object[]getPaginationSqlParameter(java.lang.Object[] params, int start, int limit)返回分页参数的数组java.util.Map<java.lang.String,java.lang.Object>getPaginationSqlParameter(java.util.Map<java.lang.String,java.lang.Object> params, int start, int limit)返回分页参数的MAPjava.lang.StringgetParamNamedPaginationSql(java.lang.String sql, int start, int limit)转换普通命名sql为带分页的sql,此sql为带命名参数sql, 如select * from user where user_name = :usernamejava.lang.StringgetParamNamedPaginationSql(java.lang.String sql, int start, int limit, char startSymbol)转换普通命名sql为带分页的sql,此sql为带命名参数sql, 如select * from user where user_name = {startSymal}username.default java.lang.StringgetPrimaryKeyIndexName()Gets the primary key index name.java.lang.StringgetWrapSign()Gets the wrap sign.default booleanisAutoGenerateKeyBatch()Checks if is auto generate key batch.default booleanisInsertBatch()Checks if is insert batch.default booleanisKeywordsUppercase()Checks if is keywords uppercase.default booleanisTableAndColumnNameUppercase()Checks if is table and column name uppercase.java.lang.StringvalueToSql(java.lang.Object value, int sqlType)转换为SQL语句中使用的字符串java.lang.StringwrapName(java.lang.String name)包装名称,避免关键字问题
-
字段详细资料
-
START_PARAM_NAME
static final java.lang.String START_PARAM_NAME命名参数查询的查询条件默认起始位置名称.- 另请参阅:
- 常量字段值
-
LIMIT_PARAM_NAME
static final java.lang.String LIMIT_PARAM_NAME命名参数查询的查询条件默认数量名称.- 另请参阅:
- 常量字段值
-
PRIMARY_KEY_INDEX_NAME
static final java.lang.String PRIMARY_KEY_INDEX_NAMEThe primary key index name.- 另请参阅:
- 常量字段值
-
PARAM_NAME_START_SYMBOL
static final char PARAM_NAME_START_SYMBOLThe param name start symbol.- 另请参阅:
- 常量字段值
-
DEFAULT_LIMIT
static final int DEFAULT_LIMIT默认的查询返回条数.- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getPaginationSql
java.lang.String getPaginationSql(java.lang.String sql, int start, int limit)转换普通sql为带分页的sql
.- 参数:
sql- 带转换的sqlstart- 起始数limit- 数量- 返回:
- 返回转换好的分页sql
-
getPaginationSqlParameter
java.lang.Object[] getPaginationSqlParameter(java.lang.Object[] params, int start, int limit)返回分页参数的数组
.- 参数:
params- 参数数组start- 起始数limit- 数量- 返回:
- 分页参数的数组
-
getPaginationSqlParameter
java.util.Map<java.lang.String,java.lang.Object> getPaginationSqlParameter(java.util.Map<java.lang.String,java.lang.Object> params, int start, int limit)返回分页参数的MAP
.- 参数:
params- 参数MAPstart- 起始数limit- 数量- 返回:
- 分页参数的MAP
-
getParamNamedPaginationSql
java.lang.String getParamNamedPaginationSql(java.lang.String sql, int start, int limit)转换普通命名sql为带分页的sql,此sql为带命名参数sql, 如select * from user where user_name = :username
.- 参数:
sql- 带转换的sqlstart- 起始数limit- 数量- 返回:
- 返回转换好的分页sql
-
getParamNamedPaginationSql
java.lang.String getParamNamedPaginationSql(java.lang.String sql, int start, int limit, char startSymbol)转换普通命名sql为带分页的sql,此sql为带命名参数sql, 如select * from user where user_name = {startSymal}username.
.- 参数:
sql- 带转换的sqlstart- 起始数limit- 数量startSymbol- 命名参数的起始符号- 返回:
- 返回转换好的分页sql
-
valueToSql
java.lang.String valueToSql(java.lang.Object value, int sqlType)转换为SQL语句中使用的字符串
.- 参数:
value- 值sqlType- sql类型- 返回:
- the string
-
wrapName
java.lang.String wrapName(java.lang.String name)包装名称,避免关键字问题
.- 参数:
name- 名称(列明,表名等)- 返回:
- 包装后的名称
-
isAutoGenerateKeyBatch
default boolean isAutoGenerateKeyBatch()Checks if is auto generate key batch.- 返回:
- true, if is auto generate key batch
-
isInsertBatch
default boolean isInsertBatch()Checks if is insert batch.- 返回:
- true, if is insert batch
-
getInitSqlHeader
java.lang.String getInitSqlHeader()Gets the inits the sql header.- 返回:
- the inits the sql header
-
buildInsertBatchSql
default java.lang.String buildInsertBatchSql(java.lang.String tableName, java.lang.String[] columnNames, int insertAmount)dialect for database supports batch insert.- 参数:
tableName- the table namecolumnNames- the column namesinsertAmount- the insert amount- 返回:
- the string
-
isKeywordsUppercase
default boolean isKeywordsUppercase()Checks if is keywords uppercase.- 返回:
- true, if is keywords uppercase
-
isTableAndColumnNameUppercase
default boolean isTableAndColumnNameUppercase()Checks if is table and column name uppercase.- 返回:
- true, if is table and column name uppercase
-
getKeywords
get converted keywords.- 返回:
- sql key words
-
getKeyword
default java.lang.String getKeyword(cn.featherfly.common.repository.operate.SortOperator keywords)get converted keywords.- 参数:
keywords- sql keywords- 返回:
- sql key words
-
getKeyword
default java.lang.String getKeyword(cn.featherfly.common.repository.operate.LogicOperator keywords)get converted keywords.- 参数:
keywords- sql keywords- 返回:
- sql key words
-
getKeyword
get converted keywords.- 参数:
keywords- sql keywords- 返回:
- sql key words
-
getFunction
default java.lang.String getFunction(cn.featherfly.common.repository.operate.Function function)get converted aggregate function.- 参数:
function- aggregate function- 返回:
- sql aggregate function
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, cn.featherfly.common.repository.operate.Function function)build sql for column with aggregate function.- 参数:
columnName- columnNamefunction- function- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction)build sql for column with aggregate function.- 参数:
columnName- columnNameaggregateFunction- aggregateFunction- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, java.lang.String tableAlias)build sql for column with aggregate function.- 参数:
columnName- columnNametableAlias- tableAlias- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, java.lang.String tableAlias, java.lang.String asName)build sql for column with aggregate function.- 参数:
columnName- columnNametableAlias- tableAliasasName- asName- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction)build sql for column with tableAlias and aggregate function.- 参数:
columnName- columnNametableAlias- tableAliasaggregateFunction- aggregateFunction- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.AggregateFunction aggregateFunction, java.lang.String asName)build sql for column with tableAlias and aggregate function.- 参数:
columnName- columnNametableAlias- tableAliasaggregateFunction- aggregateFunctionasName- asName- 返回:
- sql
-
buildColumnSql
default java.lang.String buildColumnSql(java.lang.String columnName, java.lang.String tableAlias, cn.featherfly.common.repository.operate.Function function)build sql for column with tableAlias and aggregate function.- 参数:
columnName- columnNametableAlias- tableAliasfunction- function- 返回:
- sql
-
convertTableOrColumnName
default java.lang.String convertTableOrColumnName(java.lang.String tableOrColumnName)convert column or table name if necessary.- 参数:
tableOrColumnName- column or table name- 返回:
- sql
-
buildTableSql
build sql for table.- 参数:
table- table- 返回:
- sql
-
buildTableSql
default java.lang.String buildTableSql(java.lang.String tableName)build sql for table.- 参数:
tableName- tableName- 返回:
- sql
-
buildTableSql
default java.lang.String buildTableSql(java.lang.String tableName, java.lang.String tableAlias)build sql for table with tableAlias.- 参数:
tableName- tableNametableAlias- tableAlias- 返回:
- sql
-
buildCreateDataBaseDDL
default java.lang.String buildCreateDataBaseDDL(java.lang.String dataBaseName)Builds the create data base sql.- 参数:
dataBaseName- the data base name- 返回:
- the string
-
buildDropDataBaseDDL
default java.lang.String buildDropDataBaseDDL(java.lang.String dataBaseName)Builds the drop data base sql.- 参数:
dataBaseName- the data base name- 返回:
- the string
-
buildDropDataBaseDDL
default java.lang.String buildDropDataBaseDDL(java.lang.String dataBaseName, boolean ifExists)Builds the drop data base sql.- 参数:
dataBaseName- the data base nameifExists- the if exists- 返回:
- the string
-
buildCreateSchemaDDL
default java.lang.String buildCreateSchemaDDL(java.lang.String schemaName)Builds the create schema DDL.- 参数:
schemaName- the schema name- 返回:
- the string
-
buildDropSchemaDDL
default java.lang.String buildDropSchemaDDL(java.lang.String schemaName)Builds the drop schema DDL.- 参数:
schemaName- the schema name- 返回:
- the string
-
buildDropSchemaDDL
default java.lang.String buildDropSchemaDDL(java.lang.String schemaName, boolean ifExists)Builds the drop schema DDL.- 参数:
schemaName- the schema nameifExists- the if exists- 返回:
- the string
-
buildCreateTableDDL
Builds the create table sql.- 参数:
table- the table- 返回:
- the string
-
buildDropTableDDL
default java.lang.String buildDropTableDDL(java.lang.String tableName)Builds the drop table sql.- 参数:
tableName- the table name- 返回:
- the string
-
buildDropTableDDL
default java.lang.String buildDropTableDDL(java.lang.String tableName, boolean ifExists)Builds the drop table sql.- 参数:
tableName- the table nameifExists- the if exists- 返回:
- the string
-
buildDropTableDDL
default java.lang.String buildDropTableDDL(java.lang.String schema, java.lang.String tableName)Builds the drop table sql.- 参数:
schema- the schematableName- the table name- 返回:
- the string
-
buildDropTableDDL
default java.lang.String buildDropTableDDL(java.lang.String schema, java.lang.String tableName, boolean ifExists)Builds the drop table sql.- 参数:
schema- the database schematableName- the table nameifExists- the if exists- 返回:
- the string
-
buildDropTableDDL
default java.lang.String buildDropTableDDL(java.lang.String schema, java.lang.String tableName, boolean ifExists, boolean cascade)Builds the drop table sql.- 参数:
schema- the database schematableName- the table nameifExists- the if existscascade- the cascade- 返回:
- the string
-
buildAlterTableDDL
default java.lang.String buildAlterTableDDL(java.lang.String tableName)Builds the alter table sql.- 参数:
tableName- the table name- 返回:
- the string
-
buildAlterTableDDL
default java.lang.String buildAlterTableDDL(java.lang.String schema, java.lang.String tableName)Builds the alter table sql.- 参数:
schema- the schematableName- the table name- 返回:
- the string
-
buildAlterTableDDL
java.lang.String buildAlterTableDDL(java.lang.String schema, java.lang.String tableName, Column[] addColumns, Column[] modifyColumns, Column[] dropColumns)Builds the alter table DDL.- 参数:
schema- the database nametableName- the table nameaddColumns- the add columnsmodifyColumns- the modify columnsdropColumns- the drop columns- 返回:
- the string
-
buildAlterTableAddColumnDDL
default java.lang.String buildAlterTableAddColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table add column DDL.- 参数:
tableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableAddColumnDDL
java.lang.String buildAlterTableAddColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table add column DDL.- 参数:
schema- the database nametableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableModifyColumnDDL
default java.lang.String buildAlterTableModifyColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table modify column DDL.- 参数:
tableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableModifyColumnDDL
java.lang.String buildAlterTableModifyColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table modify column DDL.- 参数:
schema- the database nametableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableDropColumnDDL
Builds the alter table drop column DDL.- 参数:
column- the column- 返回:
- the string
-
buildAlterTableDropColumnDDL
default java.lang.String buildAlterTableDropColumnDDL(java.lang.String tableName, Column... columns)Builds the alter table drop column DDL.- 参数:
tableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableDropColumnDDL
java.lang.String buildAlterTableDropColumnDDL(java.lang.String schema, java.lang.String tableName, Column... columns)Builds the alter table drop column DDL.- 参数:
schema- the database nametableName- the table namecolumns- the columns- 返回:
- the string
-
buildAlterTableDropColumnDDL
java.lang.String buildAlterTableDropColumnDDL(java.lang.String schema, java.lang.String tableName, java.lang.String... columnNames)Builds the alter table drop column DDL.- 参数:
schema- the database nametableName- the table namecolumnNames- the column names- 返回:
- the string
-
buildDropViewDDL
default java.lang.String buildDropViewDDL(java.lang.String viewName)Builds the drop view sql.- 参数:
viewName- the view name- 返回:
- the string
-
buildDropViewDDL
default java.lang.String buildDropViewDDL(java.lang.String schema, java.lang.String viewName)Builds the drop view sql.- 参数:
schema- the database nameviewName- the view name- 返回:
- the string
-
buildDropViewDDL
default java.lang.String buildDropViewDDL(java.lang.String schema, java.lang.String viewName, boolean ifExists)Builds the drop view sql.- 参数:
schema- the database nameviewName- the view nameifExists- the if exists- 返回:
- the string
-
buildDropDDL
default java.lang.String buildDropDDL(java.lang.String schema, java.lang.String name, Keywords type, boolean ifExists)Builds the drop DDL.- 参数:
schema- the schemaname- the nametype- the typeifExists- the if exists- 返回:
- the string
-
buildCreateIndexDDL
default java.lang.String buildCreateIndexDDL(java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns)Builds the create index DDL.- 参数:
tableName- the table nameindexName- the index namecolumns- the columns- 返回:
- the string
-
buildCreateIndexDDL
default java.lang.String buildCreateIndexDDL(java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns, boolean unique)Builds the create index DDL.- 参数:
tableName- the table nameindexName- the index namecolumns- the columnsunique- the unique- 返回:
- the string
-
buildCreateIndexDDL
default java.lang.String buildCreateIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns)Builds the create index DDL.- 参数:
schema- the schematableName- the table nameindexName- the index namecolumns- the columns- 返回:
- the string
-
buildCreateIndexDDL
default java.lang.String buildCreateIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, java.lang.String[] columns, boolean unique)Builds the create index DDL.- 参数:
schema- the schematableName- the table nameindexName- the index namecolumns- the columnsunique- the unique- 返回:
- the string
-
buildDropIndexDDL
default java.lang.String buildDropIndexDDL(java.lang.String tableName, java.lang.String indexName)Builds the drop index sql.- 参数:
tableName- the table nameindexName- the index name- 返回:
- the string
-
buildDropIndexDDL
default java.lang.String buildDropIndexDDL(java.lang.String tableName, java.lang.String indexName, boolean ifExists)Builds the drop index sql.- 参数:
tableName- the table nameindexName- the index nameifExists- the if exists- 返回:
- the string
-
buildDropIndexDDL
default java.lang.String buildDropIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName)Builds the drop index sql.- 参数:
schema- the schematableName- the table nameindexName- the index name- 返回:
- the string
-
buildDropIndexDDL
default java.lang.String buildDropIndexDDL(java.lang.String schema, java.lang.String tableName, java.lang.String indexName, boolean ifExists)Builds the drop index sql.- 参数:
schema- the schematableName- the table nameindexName- the index nameifExists- the if exists- 返回:
- the string
-
getColumnTypeName
default java.lang.String getColumnTypeName(java.sql.SQLType sqlType)Gets the column type name.- 参数:
sqlType- the sql type- 返回:
- the column type name
-
getDefaultSchema
default java.lang.String getDefaultSchema(java.lang.String catalog)Gets the default schema.- 参数:
catalog- the catalog- 返回:
- the default schema
-
getDefaultSize
default int getDefaultSize(java.sql.SQLType sqlType)Gets the default size.- 参数:
sqlType- the sql type- 返回:
- the default size
-
getPrimaryKeyIndexName
default java.lang.String getPrimaryKeyIndexName()Gets the primary key index name.- 返回:
- the primary key index name
-
getWrapSign
java.lang.String getWrapSign()Gets the wrap sign.- 返回:
- the wrap sign
-