Class DMDDLDialect
java.lang.Object
org.huiche.ddl.dialect.BaseDDLDialect
org.huiche.ddl.dialect.DMDDLDialect
- All Implemented Interfaces:
DDLDialect
-
Field Summary
Fields inherited from class BaseDDLDialect
defaultTypeMapping, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription自增语法片段boolean类型名称jsonType()JSON类型translate(AlterColumnType statement) 翻译修改列语句translate(AlterNullabe statement) 翻译新增列NOTNULL语句translate(DropPrimaryKey statement) 翻译删除主键语句Methods inherited from class BaseDDLDialect
compareColumn, compareTable, concatType, quote, resolveTable, resolveTableByJdbc, resolveType, translate, 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, clobType, compareLengthOrScale, dateType, dbTypeMapping, decimalType, embeddedColumnComment, embeddedTableComment, fallbackType, intType, requiresExplicitNotNullForPrimaryKey, resolveEnumType, smallintType, timestrampType, timeType, tinyintType, translate, varcharType
-
Constructor Details
-
DMDDLDialect
-
-
Method Details
-
autoIncrementSyntaxSegment
Description copied from interface:DDLDialect自增语法片段- Specified by:
autoIncrementSyntaxSegmentin interfaceDDLDialect- Overrides:
autoIncrementSyntaxSegmentin classBaseDDLDialect- Returns:
- 自增语法片段
-
translate
Description copied from interface:DDLDialect翻译新增列NOTNULL语句- 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
-
jsonType
-