Class CockroachDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
io.ebeaninternal.dbmigration.ddlgeneration.platform.CockroachDdl
CockroachDB specific DDL handling.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumnComment(DdlBuffer apply, String table, String column, String comment) Add column comment as a separate statement.voidaddTableComment(DdlBuffer apply, String tableName, String tableComment) Add table comment as a separate statement (from the create table statement).alterTableDropUniqueConstraint(String tableName, String uniqueConstraintName) Drop a unique constraint from the table (Sometimes this is an index).asIdentityColumn(String columnDefn, DdlIdentity identity) Modify and return the column definition for autoincrement or identity definition.booleanReturn true if the table and column comments are included inline.Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addHistoryTable, addTablePartition, addTablespace, alterColumn, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddColumn, alterTableAddForeignKey, alterTableAddUniqueConstraint, alterTableDropColumn, alterTableDropConstraint, alterTableDropForeignKey, alterTableTablespace, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropIndex, dropSequence, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineForeignKeys, isInlineUniqueWhenNullable, regenerateHistoryTriggers, setLockTimeout, suppressPrimaryKeyOnPartition, tableInlineForeignKey, tableStorageEngine, useIdentityType, writeTableColumns
-
Constructor Details
-
CockroachDdl
-
-
Method Details
-
asIdentityColumn
Description copied from class:PlatformDdlModify and return the column definition for autoincrement or identity definition.- Overrides:
asIdentityColumnin classPlatformDdl
-
addTableComment
Description copied from class:PlatformDdlAdd table comment as a separate statement (from the create table statement).- Overrides:
addTableCommentin classPlatformDdl
-
addColumnComment
Description copied from class:PlatformDdlAdd column comment as a separate statement.- Overrides:
addColumnCommentin classPlatformDdl
-
alterTableDropUniqueConstraint
Description copied from class:PlatformDdlDrop a unique constraint from the table (Sometimes this is an index).- Overrides:
alterTableDropUniqueConstraintin classPlatformDdl
-
isInlineComments
Description copied from class:PlatformDdlReturn true if the table and column comments are included inline.- Overrides:
isInlineCommentsin classPlatformDdl
-