Uses of Interface
io.ebeaninternal.dbmigration.ddlgeneration.DdlBuffer
Packages that use DdlBuffer
Package
Description
-
Uses of DdlBuffer in io.ebeaninternal.dbmigration.ddlgeneration
Methods in io.ebeaninternal.dbmigration.ddlgeneration that return DdlBufferModifier and TypeMethodDescriptionAppend DDL content to the buffer.Append DDL content to the buffer with space padding.DdlBuffer.appendStatement(String content)Append a statement allowing for null or empty statements.DdlBuffer.appendWithSpace(String foreignKeyRestrict)Append a value that is potentially null or empty and proceed it with a space if so.DdlWrite.apply()Return the buffer that APPLY DDL is written to.DdlWrite.applyDropDependencies()Return the buffer that executes early to drop dependencies like views etc.DdlWrite.applyForeignKeys()Return the buffer that APPLY DDL is written to for foreign keys and their associated indexes.DdlWrite.applyHistoryTrigger()Return the buffer that apply history-trigger DDL is written to.DdlWrite.applyHistoryView()Return the buffer that apply history-view DDL is written to.DdlWrite.dropAll()Return the buffer used for the 'drop all DDL' to drop tables, views and history triggers etc.DdlWrite.dropAllForeignKeys()Return the buffer used for the 'drop all DDL' for dropping foreign keys and associated indexes.DdlBuffer.end()End of a change - add some whitespace.DdlBuffer.endOfStatement()Append the end of statement content.DdlBuffer.newLine()Append new line character to the buffer. -
Uses of DdlBuffer in io.ebeaninternal.dbmigration.ddlgeneration.platform
Classes in io.ebeaninternal.dbmigration.ddlgeneration.platform that implement DdlBufferModifier and TypeClassDescriptionclassBase implementation of DdlBuffer using an underlying writer.Methods in io.ebeaninternal.dbmigration.ddlgeneration.platform that return DdlBufferModifier and TypeMethodDescriptionBaseDdlBuffer.appendStatement(String content)BaseDdlBuffer.appendWithSpace(String foreignKeyRestrict)DbTriggerUpdate.dropDependencyBuffer()Return the appropriate drop dependency buffer for the current mode.BaseDdlBuffer.end()Used to demarcate the end of a series of statements.BaseDdlBuffer.endOfStatement()DbTriggerUpdate.historyTriggerBuffer()Return the appropriate buffer for the current mode.DbTriggerUpdate.historyViewBuffer()Return the appropriate buffer for the current mode.BaseDdlBuffer.newLine()Methods in io.ebeaninternal.dbmigration.ddlgeneration.platform with parameters of type DdlBufferModifier and TypeMethodDescriptionvoidClickHouseDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)voidCockroachDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)voidMySqlDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)voidNuoDbDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)voidPlatformDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)Add column comment as a separate statement.voidSQLiteDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)voidSqlServerDdl.addColumnComment(DdlBuffer apply, String table, String column, String comment)Add column comment as a separate statement.voidClickHouseDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)voidCockroachDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)voidMySqlDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)Add table comment as a separate statement (from the create table statement).voidNuoDbDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)voidPlatformDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)Add table comment as a separate statement (from the create table statement).voidSQLiteDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)voidSqlServerDdl.addTableComment(DdlBuffer apply, String tableName, String tableComment)Add table comment as a separate statement (from the create table statement).voidPlatformDdl.addTablePartition(DdlBuffer apply, String partitionMode, String partitionColumn)voidPostgresDdl.addTablePartition(DdlBuffer apply, String partitionMode, String partitionColumn)voidPlatformDdl.alterTableAddColumn(DdlBuffer buffer, String tableName, Column column, boolean onHistoryTable, String defaultValue)voidAbstractHanaDdl.alterTableDropColumn(DdlBuffer buffer, String tableName, String columnName)It is rather complex to delete a column on HANA as there must not exist any foreign keys.voidPlatformDdl.alterTableDropColumn(DdlBuffer buffer, String tableName, String columnName)voidSqlServerDdl.alterTableDropColumn(DdlBuffer buffer, String tableName, String columnName)It is rather complex to delete a column on SqlServer as there must not exist any references (constraints, default values, indices and foreign keys).voidHanaHistoryDdl.disableSystemVersioning(DdlBuffer apply, String tableName)voidHanaHistoryDdl.disableSystemVersioning(DdlBuffer apply, String tableName, boolean uniqueStatement)voidHanaHistoryDdl.enableSystemVersioning(DdlBuffer apply, String tableName, String historyTableName, boolean validated, boolean uniqueStatement)voidMySqlDdl.inlineTableComment(DdlBuffer apply, String tableComment)voidPlatformDdl.inlineTableComment(DdlBuffer apply, String tableComment)Add an inline table comment to the create table statement.voidMySqlDdl.lockTables(DdlBuffer buffer, Collection<String> tables)Locks all tables for triggers that have to be updated.voidPlatformDdl.lockTables(DdlBuffer buffer, Collection<String> tables)Mysql-specific: Locks all tables for triggers that have to be updated.voidClickHouseDdl.tableStorageEngine(DdlBuffer apply, String storageEngine)Add an table storage engine to the create table statement.voidPlatformDdl.tableStorageEngine(DdlBuffer apply, String storageEngine)Add an table storage engine to the create table statement.voidMySqlDdl.unlockTables(DdlBuffer buffer, Collection<String> tables)Unlocks all tables for triggers that have to be updated.voidPlatformDdl.unlockTables(DdlBuffer buffer, Collection<String> tables)Mysql-specific: Unlocks all tables for triggers that have to be updated.voidPlatformDdl.writeTableColumns(DdlBuffer apply, List<Column> columns, DdlIdentity identity)Write all the table columns converting to platform types as necessary.