Class PostgreSQLDDLDialect
java.lang.Object
org.huiche.ddl.dialect.BaseDDLDialect
org.huiche.ddl.dialect.PostgreSQLDDLDialect
- All Implemented Interfaces:
DDLDialect
-
Field Summary
Fields inherited from class BaseDDLDialect
defaultTypeMapping, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbigint类型名称blobType()blob类型名称boolean类型名称charType(int length) char类型名称clobType()clob类型名称decimalType(int length, int scale) decimal类型名称intType()int类型名称smallint类型名称tinyint类型名称translate(AlterColumnType statement) 翻译修改列语句translate(DropPrimaryKey statement) 翻译删除主键语句Methods inherited from class BaseDDLDialect
autoIncrementSyntaxSegment, compareColumn, compareTable, concatType, quote, resolveTable, resolveTableByJdbc, resolveType, translate, 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, compareLengthOrScale, dateType, dbTypeMapping, embeddedColumnComment, embeddedTableComment, fallbackType, jsonType, requiresExplicitNotNullForPrimaryKey, resolveEnumType, timestrampType, timeType, translate, varcharType
-
Constructor Details
-
PostgreSQLDDLDialect
-
-
Method Details
-
bigintType
-
blobType
-
booleanType
-
charType
-
clobType
-
decimalType
Description copied from interface:DDLDialectdecimal类型名称- Parameters:
length- 长度scale- 精度- Returns:
- decimal类型名称
-
intType
-
smallintType
-
tinyintType
-
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
-