Uses of Class
net.java.ao.schema.ddl.SQLAction
Packages that use SQLAction
-
Uses of SQLAction in net.java.ao
Methods in net.java.ao that return SQLActionModifier and TypeMethodDescriptionprotected SQLAction
DatabaseProvider._renderDropFunctionForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders SQL statement(s) to drop the function which corresponds to the specified field, if applicable, ornull
otherwise.protected SQLAction
DatabaseProvider._renderDropSequenceForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders SQL statement(s) to drop the sequence which corresponds to the specified field, ornull
if none.protected SQLAction
DatabaseProvider._renderDropTriggerForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders SQL statement(s) to drop the trigger which corresponds to the specified field, ornull
if none.protected SQLAction
DatabaseProvider._renderFunctionForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders the function which corresponds to the specified field, ornull
if none.protected SQLAction
DatabaseProvider._renderSequenceForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders the SQL for creating a sequence for the specified field, ornull
if none.protected SQLAction
DatabaseProvider._renderTriggerForField
(NameConverters nameConverters, DDLTable table, DDLField field) Renders the trigger which corresponds to the specified field, ornull
if none.protected SQLAction
DatabaseProvider.renderAlterTableAddColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField field) Generates the database-specific DDL statement for adding a column, but not including any corresponding sequences, triggers, etc.protected SQLAction
DatabaseProvider.renderAlterTableAddKey
(DDLForeignKey key) Generates the database-specific DDL statement required to add a foreign key to a table.protected SQLAction
DatabaseProvider.renderAlterTableChangeColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field, DatabaseProvider.RenderFieldOptions options) Generates the database-specific DDL statement only for altering a table and changing a column.protected SQLAction
DatabaseProvider.renderAlterTableDropColumnStatement
(DDLTable table, DDLField field) protected SQLAction
DatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) Generates the database-specific DDL statement required to remove a foreign key from a table.DatabaseProvider.renderCreateCompositeIndex
(String tableName, String indexName, List<String> fields) Deprecated.protected SQLAction
DatabaseProvider.renderCreateIndex
(IndexNameConverter indexNameConverter, DDLIndex index) Generates the database-specific DDL statement required to create a new index.protected SQLAction
DatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) Generates the database-specific DDL statement required to drop an index.protected SQLAction
DatabaseProvider.renderDropTableStatement
(DDLTable table) Generates the appropriate database-specific DDL statement to drop the specified table representation.protected SQLAction
DatabaseProvider.renderInsert
(DDLTable ddlTable, DDLValue[] ddlValues) protected final SQLAction
DatabaseProvider.renderTable
(NameConverters nameConverters, DDLTable table) Renders the specified table representation into the corresponding database-specific DDL statement.Methods in net.java.ao that return types with arguments of type SQLActionModifier and TypeMethodDescriptionDatabaseProvider.renderAccessories
(NameConverters nameConverters, DDLTable table) Generates the database-specific DDL statements required to create all of the functions, sequences, and triggers necessary for the given table, by callingDatabaseProvider.renderAccessoriesForField(NameConverters, DDLTable, DDLField)
for each of the table's fields.DatabaseProvider.renderAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) Generates database-specific DDL statements required to create any functions, sequences, or triggers required for the given field.DatabaseProvider.renderAction
(NameConverters nameConverters, DDLAction action) Top level delegating method for the process of rendering a database-agnosticDDLAction
into the database-specific SQL actions.DatabaseProvider.renderAlterTableAddColumn
(NameConverters nameConverters, DDLTable table, DDLField field) Generates the database-specific DDL statements required to add a column to an existing table.DatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) Generates the database-specific DDL statements required to change the given column from its old specification to the given DDL value.DatabaseProvider.renderAlterTableDropColumn
(NameConverters nameConverters, DDLTable table, DDLField field) Generates the database-specific DDL statements required to remove the specified column from the given table.DatabaseProvider.renderDropAccessories
(NameConverters nameConverters, DDLTable table) Generates the database-specific DDL statements required to drop all of the functions, sequences, and triggers associated with the given table, by callingDatabaseProvider.renderDropAccessoriesForField(NameConverters, DDLTable, DDLField)
for each of the table's fields.DatabaseProvider.renderDropAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) Generates database-specific DDL statements required to drop any functions, sequences, or triggers associated with the given field.DatabaseProvider.renderDropColumnActions
(NameConverters nameConverters, DDLTable table, DDLField field) DatabaseProvider.renderFields
(DDLTable table, Predicate<DDLField> filter, Function<DDLField, Iterable<SQLAction>> render) Methods in net.java.ao with parameters of type SQLActionModifier and TypeMethodDescriptionDatabaseProvider.executeUpdateForAction
(Statement stmt, SQLAction action, Set<String> completedStatements) Method parameters in net.java.ao with type arguments of type SQLActionModifier and TypeMethodDescriptionDatabaseProvider.executeUpdatesForActions
(Statement stmt, Iterable<SQLAction> actions, Set<String> completedStatements) Attempt to execute a list of actions that make up a logical unit (e.g.DatabaseProvider.renderFields
(DDLTable table, Predicate<DDLField> filter, Function<DDLField, Iterable<SQLAction>> render) -
Uses of SQLAction in net.java.ao.db
Methods in net.java.ao.db that return SQLActionModifier and TypeMethodDescriptionprotected SQLAction
OracleDatabaseProvider.renderAlterTableAddColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField field) protected SQLAction
SQLServerDatabaseProvider.renderAlterTableAddColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField field) protected SQLAction
H2DatabaseProvider.renderAlterTableChangeColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field, DatabaseProvider.RenderFieldOptions options) protected SQLAction
HSQLDatabaseProvider.renderAlterTableChangeColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field, DatabaseProvider.RenderFieldOptions options) protected SQLAction
SQLServerDatabaseProvider.renderAlterTableChangeColumnStatement
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field, DatabaseProvider.RenderFieldOptions options) protected SQLAction
H2DatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) protected SQLAction
HSQLDatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) protected SQLAction
NuoDBDatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) protected SQLAction
OracleDatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) protected SQLAction
PostgreSQLDatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) protected SQLAction
SQLServerDatabaseProvider.renderAlterTableDropKey
(DDLForeignKey key) MySQLDatabaseProvider.renderCreateCompositeIndex
(String tableName, String indexName, List<String> fields) protected SQLAction
MySQLDatabaseProvider.renderCreateIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
NuoDBDatabaseProvider.renderCreateIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
PostgreSQLDatabaseProvider.renderCreateIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
SQLServerDatabaseProvider.renderCreateIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
H2DatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
HSQLDatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
NuoDBDatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
OracleDatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
PostgreSQLDatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
SQLServerDatabaseProvider.renderDropIndex
(IndexNameConverter indexNameConverter, DDLIndex index) protected SQLAction
OracleDatabaseProvider.renderDropTableStatement
(DDLTable table) Methods in net.java.ao.db that return types with arguments of type SQLActionModifier and TypeMethodDescriptionNuoDBDatabaseProvider.renderAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) Create indices on field being altered.OracleDatabaseProvider.renderAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) H2DatabaseProvider.renderAlterTableAddColumn
(NameConverters nameConverters, DDLTable table, DDLField field) HSQLDatabaseProvider.renderAlterTableAddColumn
(NameConverters nameConverters, DDLTable table, DDLField field) MySQLDatabaseProvider.renderAlterTableAddColumn
(NameConverters nameConverters, DDLTable table, DDLField field) H2DatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) HSQLDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) MySQLDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) NuoDBDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) OracleDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) PostgreSQLDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) SQLServerDatabaseProvider.renderAlterTableChangeColumn
(NameConverters nameConverters, DDLTable table, DDLField oldField, DDLField field) NuoDBDatabaseProvider.renderDropAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) Drop indices on field being altered.OracleDatabaseProvider.renderDropAccessoriesForField
(NameConverters nameConverters, DDLTable table, DDLField field) -
Uses of SQLAction in net.java.ao.schema.ddl
Methods in net.java.ao.schema.ddl that return SQLActionModifier and TypeMethodDescriptionSQLAction.getUndoAction()
static SQLAction
SQLAction.of
(CharSequence statement) SQLAction.withUndoAction
(SQLAction undoAction) Methods in net.java.ao.schema.ddl with parameters of type SQLAction
DatabaseProvider.renderCreateIndex(IndexNameConverter, DDLIndex)
for creating indexes.