Class PostgresDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
io.ebeaninternal.dbmigration.ddlgeneration.platform.PostgresDdl
- Direct Known Subclasses:
Postgres9Ddl,YugabyteDdl
Postgres specific DDL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTablePartition(DdlBuffer apply, String partitionMode, String partitionColumn) asIdentityColumn(String columnDefn, DdlIdentity identity) Modify and return the column definition for autoincrement or identity definition.Return the drop index statement.setLockTimeout(int lockTimeoutSeconds) By default this does nothing returning null / no lock timeout.booleanMethods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addColumnComment, addHistoryTable, addTableComment, addTablespace, alterColumn, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddColumn, alterTableAddForeignKey, alterTableAddUniqueConstraint, alterTableDropColumn, alterTableDropConstraint, alterTableDropForeignKey, alterTableDropUniqueConstraint, alterTableTablespace, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropSequence, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineComments, isInlineForeignKeys, isInlineUniqueWhenNullable, regenerateHistoryTriggers, tableInlineForeignKey, tableStorageEngine, useIdentityType, writeTableColumns
-
Constructor Details
-
PostgresDdl
-
-
Method Details
-
setLockTimeout
Description copied from class:PlatformDdlBy default this does nothing returning null / no lock timeout.- Overrides:
setLockTimeoutin classPlatformDdl
-
suppressPrimaryKeyOnPartition
- Overrides:
suppressPrimaryKeyOnPartitionin classPlatformDdl
-
addTablePartition
- Overrides:
addTablePartitionin classPlatformDdl
-
dropIndex
Description copied from class:PlatformDdlReturn the drop index statement.- Overrides:
dropIndexin classPlatformDdl
-
asIdentityColumn
Modify and return the column definition for autoincrement or identity definition.- Overrides:
asIdentityColumnin classPlatformDdl
-