Class SQLServerDDLDialect
java.lang.Object
org.huiche.ddl.dialect.BaseDDLDialect
org.huiche.ddl.dialect.SQLServerDDLDialect
- All Implemented Interfaces:
DDLDialect
-
Field Summary
Fields inherited from class BaseDDLDialect
defaultTypeMapping, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean添加主键时,检查添加notnull自增语法片段blobType()blob类型名称boolean类型名称clobType()clob类型名称intType()int类型名称timestramp类型名称tinyint类型名称translate(AlterColumnComment statement) 翻译修改列注释语句translate(AlterColumnType statement) 翻译修改列语句translate(AlterDefault statement) 翻译设置默认值语句translate(AlterNullabe statement) 翻译新增列NOTNULL语句translate(AlterTableComment statement) 翻译修改表注释语句translate(DropPrimaryKey statement) 翻译删除主键语句translate(ModifyColumn statement) 翻译修改列语句varcharType(int length) varchar类型名称Methods inherited from class BaseDDLDialect
compareColumn, compareTable, concatType, quote, resolveTable, resolveTableByJdbc, resolveType, 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
addUniqueAddNotNull, bigintType, charType, compareLengthOrScale, dateType, dbTypeMapping, decimalType, embeddedColumnComment, embeddedTableComment, fallbackType, jsonType, requiresExplicitNotNullForPrimaryKey, resolveEnumType, smallintType, timeType, translate
-
Constructor Details
-
SQLServerDDLDialect
-
-
Method Details
-
addPrimaryKeyAddNotNull
public boolean addPrimaryKeyAddNotNull()Description copied from interface:DDLDialect添加主键时,检查添加notnull- Returns:
- 添加主键时,检查添加notnull
-
blobType
-
booleanType
-
clobType
-
intType
-
timestrampType
-
tinyintType
-
varcharType
Description copied from interface:DDLDialectvarchar类型名称- Parameters:
length- 长度- Returns:
- varchar类型名称
-
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
-
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
-