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 TypeMethodDescriptionAdds an alter table command for given column.Append 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.applyPostAlter()Return the buffer that POST ALTER 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.Adds a raw command. -
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 TypeMethodDescriptionAdds a statement.BaseDdlBuffer.appendStatement(String content) BaseDdlBuffer.appendWithSpace(String content) BaseDdlBuffer.end()Used to demarcate the end of a series of statements.BaseDdlBuffer.endOfStatement()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) voidDB2Ddl.addTablespace(DdlBuffer apply, String tablespaceName, String indexTablespace, String lobTablespace) voidPlatformDdl.addTablespace(DdlBuffer apply, String tablespaceName, String indexTablespace, String lobTablespace) Adds tablespace declaration.voidDb2HistoryDdl.disableSystemVersioning(DdlBuffer apply, String tableName) voidHanaHistoryDdl.disableSystemVersioning(DdlBuffer apply, String tableName) voidDb2HistoryDdl.enableSystemVersioning(DdlBuffer apply, String tableName) voidHanaHistoryDdl.enableSystemVersioning(DdlBuffer apply, String tableName, boolean validated) voidMySqlDdl.inlineTableComment(DdlBuffer apply, String tableComment) voidPlatformDdl.inlineTableComment(DdlBuffer apply, String tableComment) Add an inline table comment to the create table statement.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.voidPlatformDdl.writeTableColumns(DdlBuffer apply, List<Column> columns, DdlIdentity identity) Write all the table columns converting to platform types as necessary.