Class AbstractHanaDdl
java.lang.Object
io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
io.ebeaninternal.dbmigration.ddlgeneration.platform.AbstractHanaDdl
- Direct Known Subclasses:
HanaColumnStoreDdl,HanaRowStoreDdl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidalterColumn(DdlWrite writer, AlterColumn alter) Alter column setting (type, default value and not null constraint).alterTableAddUniqueConstraint(String tableName, String uqName, String[] columns, String[] nullableColumns) Add a unique constraint to the table.voidalterTableDropColumn(DdlWrite writer, String tableName, String columnName) It is rather complex to delete a column on HANA as there must not exist any foreign keys.alterTableDropConstraint(String tableName, String constraintName) Drop a unique constraint from the table.alterTableDropUniqueConstraint(String tableName, String uniqueConstraintName) Drop a unique constraint from the table (Sometimes this is an index).Methods inherited from class io.ebeaninternal.dbmigration.ddlgeneration.platform.PlatformDdl
addColumnComment, addHistoryTable, addTableComment, addTablePartition, addTablespace, alterTableAddCheckConstraint, alterTableAddColumn, alterTableAddColumn, alterTableAddForeignKey, alterTableDropForeignKey, alterTableTablespace, asIdentityColumn, configure, convert, convertDefaultValue, createCheckConstraint, createDdlHandler, createIndex, createSequence, createWithHistory, dropHistoryTable, dropIndex, dropIndex, dropSequence, dropTable, generateEpilog, generateProlog, getCreateTableCommandPrefix, getPlatform, getUpdateNullWithDefault, inlineTableComment, isIncludeStorageEngine, isInlineComments, isInlineForeignKeys, isInlineUniqueWhenNullable, regenerateHistoryTriggers, setLockTimeout, suppressPrimaryKeyOnPartition, tableInlineForeignKey, tableStorageEngine, useIdentityType, writeTableColumns
-
Constructor Details
-
AbstractHanaDdl
-
-
Method Details
-
alterColumn
Description copied from class:PlatformDdlAlter column setting (type, default value and not null constraint).Used by MySql, SQL Server, and HANA as these require all column attributes to be set together.
- Overrides:
alterColumnin classPlatformDdl
-
alterTableAddUniqueConstraint
public String alterTableAddUniqueConstraint(String tableName, String uqName, String[] columns, String[] nullableColumns) Description copied from class:PlatformDdlAdd a unique constraint to the table.Overridden by MsSqlServer for specific null handling on unique constraints.
- Overrides:
alterTableAddUniqueConstraintin classPlatformDdl
-
alterTableDropUniqueConstraint
Description copied from class:PlatformDdlDrop a unique constraint from the table (Sometimes this is an index).- Overrides:
alterTableDropUniqueConstraintin classPlatformDdl
-
alterTableDropConstraint
Description copied from class:PlatformDdlDrop a unique constraint from the table.- Overrides:
alterTableDropConstraintin classPlatformDdl
-
alterTableDropColumn
It is rather complex to delete a column on HANA as there must not exist any foreign keys. That's why we call a user stored procedure here- Overrides:
alterTableDropColumnin classPlatformDdl
-