Class MySQLDDLDialect
java.lang.Object
org.huiche.ddl.dialect.BaseDDLDialect
org.huiche.ddl.dialect.MySQLDDLDialect
- All Implemented Interfaces:
DDLDialect
- Direct Known Subclasses:
MariaDBDDLDialect
-
Field Summary
Fields inherited from class BaseDDLDialect
defaultTypeMapping, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription自增语法片段boolean类型名称clobType()clob类型名称boolean是否支持嵌入的列注释boolean是否支持嵌入的表注释intType()int类型名称translate(AlterColumnComment statement) 翻译修改列注释语句translate(AlterTableComment statement) 翻译修改表注释语句translate(DropConstraint statement) 翻译删除约束语句translate(ModifyColumn statement) 翻译修改列语句Methods inherited from class BaseDDLDialect
compareColumn, compareTable, concatType, quote, resolveTable, resolveTableByJdbc, resolveType, translate, translate, translate, translate, translate, translate, translate, translate, translateColumn, translatePKinCreateTableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DDLDialect
addPrimaryKeyAddNotNull, addUniqueAddNotNull, bigintType, blobType, charType, compareLengthOrScale, dateType, dbTypeMapping, decimalType, fallbackType, jsonType, requiresExplicitNotNullForPrimaryKey, resolveEnumType, smallintType, timestrampType, timeType, tinyintType, translate, varcharType
-
Constructor Details
-
MySQLDDLDialect
-
-
Method Details
-
autoIncrementSyntaxSegment
Description copied from interface:DDLDialect自增语法片段- Specified by:
autoIncrementSyntaxSegmentin interfaceDDLDialect- Overrides:
autoIncrementSyntaxSegmentin classBaseDDLDialect- Returns:
- 自增语法片段
-
translate
Description copied from interface:DDLDialect翻译修改表注释语句- Specified by:
translatein interfaceDDLDialect- Overrides:
translatein classBaseDDLDialect- Parameters:
statement- 语句- Returns:
- 翻译后的SQL
-
translate
Description copied from interface:DDLDialect翻译修改列注释语句- Specified by:
translatein interfaceDDLDialect- Overrides:
translatein classBaseDDLDialect- Parameters:
statement- 语句- Returns:
- 翻译后的SQL
-
translate
Description copied from interface:DDLDialect翻译修改列语句- Specified by:
translatein interfaceDDLDialect- Overrides:
translatein classBaseDDLDialect- Parameters:
statement- 语句- Returns:
- 翻译后的SQL
-
translate
Description copied from interface:DDLDialect翻译删除约束语句- Specified by:
translatein interfaceDDLDialect- Overrides:
translatein classBaseDDLDialect- Parameters:
statement- 语句- Returns:
- 翻译后的SQL
-
booleanType
-
clobType
-
embeddedColumnComment
public boolean embeddedColumnComment()Description copied from interface:DDLDialect是否支持嵌入的列注释- Returns:
- 是否支持嵌入的列注释
-
embeddedTableComment
public boolean embeddedTableComment()Description copied from interface:DDLDialect是否支持嵌入的表注释- Returns:
- 是否支持嵌入的表注释
-
intType
-