public class MysqlPlatformDialect extends PlatformDialect
dataSourceWrapper, mappingGlobalWrapper| 构造器和说明 |
|---|
MysqlPlatformDialect() |
| 限定符和类型 | 方法和说明 |
|---|---|
SQLBuilderCombine |
alter(StampAlter alter) |
SQLBuilderCombine |
create(StampCreate create) |
protected void |
createIndex(MappingTable mappingTable,
MappingField mappingField,
boolean unique)
修改删除表字段时可能需要重新创建单列索引
|
protected DialectNextStep |
defineAddColumn(DataDefinition definition) |
protected void |
defineCreateTableExtra(StampCreate create,
MappingTable mappingTable) |
protected DialectNextStep |
defineModifyColumn(DataDefinition definition) |
SQLBuilderCombine |
delete(StampDelete delete) |
SQLBuilderCombine |
drop(StampDrop drop) |
protected void |
dropIndex(MappingTable mappingTable,
MappingField mappingField)
修改删除表字段时可能需要重新删除单列索引
|
SQLBuilderCombine |
insert(StampInsert insert) |
boolean |
isSupportGeneratedKeys()
数据库驱动是否支持返回添加后的ID
|
SQLBuilderCombine |
rename(StampRename alter) |
SQLBuilderCombine |
select(StampSelect select) |
SQLBuilderCombine |
update(StampUpdate update) |
commonAddColumn, commonAddIndex, commonCreateTable, commonCreateTable, commonDropColumn, commonDropIndex, commonDropTable, compareColumnChange, compareColumnChangeDefault, compareColumnChangeType, define, defineAddColumnDefaultNull, defineAddColumnNotNullDefault, defineAddIndex, defineCreateTable, defineDropColumn, defineDropIndex, defineDropTable, defineModifyIndex, getAutoIncrementPrimaryKeyType, getCatalogAndSchema, getColumnType, getTableStructures, isSelectHavingMustGroupBy, isSelectLimitMustOrderBy, isSupportSameColumnIndex, loadingTableStructures, rebuildEndTable, rebuildStartTable, rebuildTable, registerColumnType, registerColumnType, registerColumnType, registerColumnType, registerColumnType, runner, runner, setDataSourceWrapper, setMappingGlobalWrapper, setSQLType, triggerIndexpublic SQLBuilderCombine alter(StampAlter alter)
alter 在接口中 Dialectalter 在类中 PlatformDialectpublic SQLBuilderCombine rename(StampRename alter)
public SQLBuilderCombine create(StampCreate create)
create 在接口中 Dialectcreate 在类中 PlatformDialectpublic SQLBuilderCombine drop(StampDrop drop)
drop 在接口中 Dialectdrop 在类中 PlatformDialectpublic SQLBuilderCombine insert(StampInsert insert)
insert 在接口中 Dialectinsert 在类中 PlatformDialectpublic SQLBuilderCombine delete(StampDelete delete)
delete 在接口中 Dialectdelete 在类中 PlatformDialectpublic SQLBuilderCombine select(StampSelect select)
select 在接口中 Dialectselect 在类中 PlatformDialectpublic SQLBuilderCombine update(StampUpdate update)
update 在接口中 Dialectupdate 在类中 PlatformDialectprotected DialectNextStep defineModifyColumn(DataDefinition definition) throws SQLException
defineModifyColumn 在类中 PlatformDialectSQLExceptionprotected DialectNextStep defineAddColumn(DataDefinition definition) throws SQLException
defineAddColumn 在类中 PlatformDialectSQLExceptionprotected void defineCreateTableExtra(StampCreate create, MappingTable mappingTable)
public boolean isSupportGeneratedKeys()
PlatformDialectisSupportGeneratedKeys 在接口中 DialectisSupportGeneratedKeys 在类中 PlatformDialectprotected void createIndex(MappingTable mappingTable, MappingField mappingField, boolean unique) throws SQLException
PlatformDialectcreateIndex 在类中 PlatformDialectSQLExceptionprotected void dropIndex(MappingTable mappingTable, MappingField mappingField) throws SQLException
PlatformDialectdropIndex 在类中 PlatformDialectSQLExceptionCopyright © 2020. All rights reserved.