Class OracleDDLDialect
java.lang.Object
org.huiche.ddl.dialect.BaseDDLDialect
org.huiche.ddl.dialect.OracleDDLDialect
- All Implemented Interfaces:
DDLDialect
-
Field Summary
Fields inherited from class BaseDDLDialect
defaultTypeMapping, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbigint类型名称boolean类型名称decimalType(int length, int scale) decimal类型名称intType()int类型名称jsonType()JSON类型smallint类型名称timeType()time类型名称tinyint类型名称translate(AlterColumnType statement) 翻译修改列语句translate(AlterDefault statement) 翻译设置默认值语句translate(AlterNullabe statement) 翻译新增列NOTNULL语句varcharType(int length) varchar类型名称Methods inherited from class BaseDDLDialect
autoIncrementSyntaxSegment, 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, blobType, charType, clobType, compareLengthOrScale, dateType, dbTypeMapping, embeddedColumnComment, embeddedTableComment, fallbackType, requiresExplicitNotNullForPrimaryKey, resolveEnumType, timestrampType, translate
-
Constructor Details
-
OracleDDLDialect
-
-
Method Details
-
bigintType
-
booleanType
-
decimalType
Description copied from interface:DDLDialectdecimal类型名称- Parameters:
length- 长度scale- 精度- Returns:
- decimal类型名称
-
intType
-
jsonType
-
smallintType
-
timeType
-
tinyintType
-
varcharType
Description copied from interface:DDLDialectvarchar类型名称- Parameters:
length- 长度- Returns:
- varchar类型名称
-
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
-