Uses of Class
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model.Table
Packages that use Table
Package
Description
This package mainly contains the database platform abstraction,
org.apache.ddlutils.Platform
and the factory to create instances for individual platforms,
org.apache.ddlutils.PlatformFactory
.
Contains the algorithm for comparing two database models and determining
what needs to be changed to migrate one to the other.
Provides the special DdlUtils implementations of
DynaClass
and DynaBean
that directly map to tables in the database
model.
The
org.apache.ddlutils.io
package contains a classes for input
and output of both the database schemas and data files.
This package contains the classes making up the database model.
This package contains the platform implementations for the individual databases.
This package contains the platform implementation for the Axion database.
This package contains the platform implementation for the
Cloudscape database.
This package contains the platform implementation for the
DB2 UDB database.
This package contains the platform implementation for the
Apache Derby database.
This package contains the platform implementation for the
Firebird database.
This package contains the platform implementation for the
HSQLDB database.
This package contains the platform implementation for the
Interbase database.
This package contains the platform implementation for the
MaxDB database.
This package contains the platform implementation for the
Mckoi database.
This package contains the platform implementation for the
Sql Server database.
This package contains the platform implementation for the
MySQL database.
This package contains the platform implementation for the
Oracle database.
This package contains the platform implementation for the
PostgreSQL database.
This package contains the platform implementation for the
SAP DB database.
This package contains the platform implementation for the
Sybase ASE database.
The
org.apache.ddlutils.task
package contains the Ant
tasks provided by DdlUtils.-
Uses of Table in edu.internet2.middleware.grouper.ddl
Methods in edu.internet2.middleware.grouper.ddl that return TableModifier and TypeMethodDescriptionstatic Table
GrouperDdlUtils.ddlutilsFindOrCreateTable
(Database database, String tableName) find or create tablestatic Table
GrouperDdlUtils.ddlutilsFindTable
(Database database, String tableName, boolean exceptionOnNotFound) find table, if not exist, throw exceptionGrouperDdlCompareTable.getDatabaseTable()
GrouperDdlCompareTable.getJavaTable()
Methods in edu.internet2.middleware.grouper.ddl with parameters of type TableModifier and TypeMethodDescriptionstatic void
GrouperDdlUtils.ddlutilsDropColumn
(Table table, String columnName, DdlVersionBean ddlVersionBean) find and drop a column if it is there also drop all related indexesstatic void
GrouperDdlUtils.ddlutilsDropIndexes
(Table table, String columnName) drop all indexes by column name (e.g.static Column
GrouperDdlUtils.ddlutilsFindColumn
(Table table, String columnName, boolean exceptionOnNotFound) find column, if not exist, throw exceptionstatic Column
GrouperDdlUtils.ddlutilsFindOrCreateColumn
(Table table, String columnName, int typeCode, String size, boolean primaryKey, boolean required) find or create column with various propertiesstatic Column
GrouperDdlUtils.ddlutilsFindOrCreateColumn
(Table table, String columnName, int typeCode, String size, boolean primaryKey, boolean required, String defaultValue) find or create column with various propertiesstatic Column
GrouperDdlUtils.ddlutilsFixSizeColumn
(Table table, String columnName, int typeCode, String size, boolean primaryKey, boolean required) find or create column with various propertiesstatic Column
GrouperDdlUtils.ddlutilsFixSizeColumn
(Table table, String columnName, int typeCode, String size, boolean primaryKey, boolean required, String defaultValue) find or create column with various propertiesvoid
GrouperDdlCompareTable.setDatabaseTable
(Table databaseTable) void
GrouperDdlCompareTable.setJavaTable
(Table javaTable) -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils with parameters of type TableModifier and TypeMethodDescriptionvoid
Drops the specified table and all foreign keys pointing to it.void
Platform.dropTable
(Connection connection, Database model, Table table, boolean continueOnError) Drops the specified table and all foreign keys pointing to it.Queries for a list of dyna beans representing rows of the given query.Queries for a list of dyna beans representing rows of the given query.Platform.fetch
(Database model, String sql, Collection parameters, Table[] queryHints) Queries for a list of dyna beans representing rows of the given query.Platform.fetch
(Database model, String sql, Collection parameters, Table[] queryHints, int start, int end) Queries for a list of dyna beans representing rows of the given query.Platform.getDropTableSql
(Database model, Table table, boolean continueOnError) Returns the SQL for dropping the given table and all foreign keys pointing to it.Performs the given SQL query returning an iterator over the results.Platform.query
(Database model, String sql, Collection parameters, Table[] queryHints) Performs the given parameterized SQL query returning an iterator over the results. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration that return TableModifier and TypeMethodDescriptionTableChange.getChangedTable()
Returns the affected table from the original model.TableChangeImplBase.getChangedTable()
Returns the affected table.AddTableChange.getNewTable()
Returns the new table.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration with parameters of type TableModifier and TypeMethodDescriptionModelComparator.compareColumns
(Table sourceTable, Column sourceColumn, Table targetTable, Column targetColumn) Compares the two columns and returns the changes necessary to create the second column from the first one.ModelComparator.compareTables
(Database sourceModel, Table sourceTable, Database targetModel, Table targetTable) Compares the two tables and returns the changes necessary to create the second table from the first one.Constructors in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.alteration with parameters of type TableModifierConstructorDescriptionAddColumnChange
(Table table, Column newColumn, Column previousColumn, Column nextColumn) Creates a new change object.AddForeignKeyChange
(Table table, ForeignKey newForeignKey) Creates a new change object.AddIndexChange
(Table table, Index newIndex) Creates a new change object.AddPrimaryKeyChange
(Table table, Column[] primaryKeyColumns) Creates a new change object.AddTableChange
(Table newTable) Creates a new change object.ColumnAutoIncrementChange
(Table table, Column column) Creates a new change object.ColumnDataTypeChange
(Table table, Column column, int newTypeCode) Creates a new change object.ColumnDefaultValueChange
(Table table, Column column, String newDefaultValue) Creates a new change object.ColumnOrderChange
(Table table, Map newPositions) Creates a new change object.ColumnRequiredChange
(Table table, Column column) Creates a new change object.ColumnSizeChange
(Table table, Column column, int newSize, int newScale) Creates a new change object.PrimaryKeyChange
(Table table, Column[] oldPrimaryKeyColumns, Column[] newPrimaryKeyColumns) Creates a new change object.RemoveColumnChange
(Table table, Column column) Creates a new change object.RemoveForeignKeyChange
(Table table, ForeignKey foreignKey) Creates a new change object.RemoveIndexChange
(Table table, Index index) Creates a new change object.RemovePrimaryKeyChange
(Table table, Column[] primaryKeyColumns) Creates a new change object.RemoveTableChange
(Table table) Creates a new change object.TableChangeImplBase
(Table table) Creates a new change object. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.dynabean
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.dynabean that return TableModifier and TypeMethodDescriptionSqlDynaClass.getTable()
Returns the table for which this dyna class is defined.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.dynabean with parameters of type TableModifier and TypeMethodDescriptionorg.apache.commons.beanutils.DynaBean
Creates a new dyna bean instance for the given table and copies the values from the given source object.org.apache.commons.beanutils.DynaBean
DynaClassCache.createNewInstance
(Table table) Creates a new dyna bean instance for the given table.DynaClassCache.getDynaClass
(Table table) Returns theSqlDynaClass
for the given table.static SqlDynaClass
SqlDynaClass.newInstance
(Table table) Factory method for creating and initializing a new dyna class instance for the given table.Constructors in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.dynabean with parameters of type TableModifierConstructorDescriptionSqlDynaClass
(Table table, SqlDynaProperty[] properties) Creates a new dyna class instance for the given table that has the given properties. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io that return TableModifier and TypeMethodDescriptionIdentity.getTable()
Returns the table that this identity is for.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io with parameters of type TableModifier and TypeMethodDescriptionConverterConfiguration.getRegisteredConverter
(Table table, Column column) Returns the converter registered for the specified column.Constructors in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io with parameters of type TableModifierConstructorDescriptionDynaSqlCreateRule
(Database model, Table table, DataSink receiver) Creates a new creation rule that creates dyna bean instances.Creates a new identity object for the given table.Creates a new identity object for the given table. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model that return TableModifier and TypeMethodDescriptionFinds the table with the specified name, using case insensitive matching.Finds the table with the specified name, using case insensitive matching.ForeignKey.getForeignTable()
Returns the foreign table.Database.getTable
(int idx) Returns the table at the specified position.Table[]
Database.getTables()
Returns the tables in this model.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model with parameters of type TableModifier and TypeMethodDescriptionvoid
Adds a table at the specified position.void
Adds a table.org.apache.commons.beanutils.DynaBean
Database.createDynaBeanFor
(Table table) Creates a new dyna bean for the given table.void
Database.removeTable
(Table table) Removes the given table.void
ForeignKey.setForeignTable
(Table foreignTable) Sets the foreign table. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform that return TableModifier and TypeMethodDescriptionprotected Table
SqlBuilder.getRealTargetTableFor
(Database targetModel, Table sourceTable, Table targetTable) Creates the target table object that differs from the given target table only in the indices.protected Table
SqlBuilder.getTemporaryTableFor
(Database targetModel, Table targetTable) Creates a temporary table object that corresponds to the given table.protected Table
JdbcModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform with parameters of type TableModifier and TypeMethodDescriptionvoid
CreationParameters.addParameter
(Table table, String paramName, String paramValue) Adds a parameter.protected void
PlatformImplBase.afterInsert
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been inserted into the specified table.protected void
PlatformImplBase.afterUpdate
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been updated in the specified table.protected void
PlatformImplBase.beforeInsert
(Connection connection, Table table) Allows platforms to issue statements directly before rows are inserted into the specified table.protected void
PlatformImplBase.beforeUpdate
(Connection connection, Table table) Allows platforms to issue statements directly before rows are updated in the specified table.void
SqlBuilder.createExternalForeignKeys
(Database database, Table table) Creates external foreignkey creation statements if necessary.protected ModelBasedResultSetIterator
PlatformImplBase.createResultSetIterator
(Database model, ResultSet resultSet, Table[] queryHints) Creates an iterator over the given result set.void
SqlBuilder.createTable
(Database database, Table table) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).void
SqlBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).protected void
SqlBuilder.createTemporaryTable
(Database database, Table table, Map parameters) Outputs the DDL to create the given temporary table.protected void
JdbcModelReader.determineAutoIncrementFromResultSetMetaData
(Table table, Column[] columnsToCheck) Helper method that determines the auto increment status for the given columns via theResultSetMetaData.isAutoIncrement(int)
method.JdbcModelReader.determineSchemaOf
(Connection connection, String schemaPattern, Table table) Deprecated.Will be removed once full schema support is in placevoid
SqlBuilder.dropExternalForeignKeys
(Table table) Creates external foreignkey drop statements.void
Drops the specified table and all foreign keys pointing to it.void
PlatformImplBase.dropTable
(Connection connection, Database model, Table table, boolean continueOnError) Drops the specified table and all foreign keys pointing to it.void
Outputs the DDL required to drop the given table.void
Outputs the DDL to drop the table.protected void
SqlBuilder.dropTemporaryTable
(Database database, Table table) Outputs the DDL to drop the given temporary table.Queries for a list of dyna beans representing rows of the given query.Queries for a list of dyna beans representing rows of the given query.PlatformImplBase.fetch
(Database model, String sql, Collection parameters, Table[] queryHints) Queries for a list of dyna beans representing rows of the given query.PlatformImplBase.fetch
(Database model, String sql, Collection parameters, Table[] queryHints, int start, int end) Queries for a list of dyna beans representing rows of the given query.protected ForeignKey
SqlBuilder.findCorrespondingForeignKey
(Table table, ForeignKey fk) Searches in the given table for a corresponding foreign key.SqlBuilder.getConstraintName
(String prefix, Table table, String secondPart, String suffix) Returns the constraint name.SqlBuilder.getDeleteSql
(Table table, Map pkValues, boolean genPlaceholders) Creates the SQL for deleting an object from the specified table.PlatformImplBase.getDropTableSql
(Database model, Table table, boolean continueOnError) Returns the SQL for dropping the given table and all foreign keys pointing to it.SqlBuilder.getForeignKeyName
(Table table, ForeignKey fk) Returns the name to be used for the given foreign key.SqlBuilder.getInsertSql
(Table table, Map columnValues, boolean genPlaceholders) Creates the SQL for inserting an object into the specified table.protected Object
PlatformImplBase.getObjectFromResultSet
(ResultSet resultSet, String columnName, Table table) Helper method esp.CreationParameters.getParametersFor
(Table table) Returns the parameters for the given table.protected Table
SqlBuilder.getRealTargetTableFor
(Database targetModel, Table sourceTable, Table targetTable) Creates the target table object that differs from the given target table only in the indices.SqlBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.SqlBuilder.getTableName
(Table table) Returns the table name.protected Table
SqlBuilder.getTemporaryTableFor
(Database targetModel, Table targetTable) Creates a temporary table object that corresponds to the given table.SqlBuilder.getUpdateSql
(Table table, Map columnValues, boolean genPlaceholders) Creates the SQL for updating an object in the specified table.protected boolean
JdbcModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
JdbcModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
SqlBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.Performs the given SQL query returning an iterator over the results.PlatformImplBase.query
(Database model, String sql, Collection parameters, Table[] queryHints) Performs the given parameterized SQL query returning an iterator over the results.protected void
JdbcModelReader.removeInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk) Tries to remove the internal index for the given foreign key.protected void
JdbcModelReader.removeInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table) Tries to remove the internal index for the table's primary key.protected void
JdbcModelReader.removeSystemIndices
(DatabaseMetaDataWrapper metaData, Table table) Removes system indices (generated by the database for primary and foreign keys) from the table.protected void
SqlBuilder.writeColumn
(Table table, Column column) Outputs the DDL for the specified column.protected void
SqlBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.protected void
SqlBuilder.writeColumnDefaultValue
(Table table, Column column) Prints the default value of the column.protected void
SqlBuilder.writeColumnDefaultValueStmt
(Table table, Column column) Prints the default value stmt part for the column.protected void
SqlBuilder.writeColumns
(Table table) Writes the columns of the given table.protected void
SqlBuilder.writeCopyDataStatement
(Table sourceTable, Table targetTable) Writes a statement that copies the data from the source to the target table.protected void
SqlBuilder.writeEmbeddedForeignKeysStmt
(Database database, Table table) Writes the foreign key constraints inside a create table () clause.protected void
SqlBuilder.writeEmbeddedIndexCreateStmt
(Table table, Index index) Writes the given embedded index of the table.protected void
SqlBuilder.writeEmbeddedIndicesStmt
(Table table) Writes the indexes embedded within the create table statement.protected void
SqlBuilder.writeEmbeddedPrimaryKeysStmt
(Table table) Writes the primary key constraints of the table inside its definition.protected void
SqlBuilder.writeExternalForeignKeyCreateStmt
(Database database, Table table, ForeignKey key) Writes a single foreign key constraint using a alter table statement.protected void
SqlBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.protected void
SqlBuilder.writeExternalIndexCreateStmt
(Table table, Index index) Writes the given index of the table.void
SqlBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database.protected void
SqlBuilder.writeExternalIndicesCreateStmt
(Table table) Writes the indexes of the given table.protected void
SqlBuilder.writeExternalPrimaryKeysCreateStmt
(Table table, Column[] primaryKeyColumns) Writes the primary key constraints of the table as alter table statements.protected void
SqlBuilder.writePrimaryKeyStmt
(Table table, Column[] primaryKeyColumns) Writes a primary key statement for the given columns.protected void
SqlBuilder.writeTableAlterStmt
(Table table) Generates the first part of the ALTER TABLE statement including the table name.protected void
SqlBuilder.writeTableComment
(Table table) Outputs a comment for the table.protected void
SqlBuilder.writeTableCreationStmt
(Database database, Table table, Map parameters) Writes the table creation statement without the statement end.protected void
SqlBuilder.writeTableCreationStmtEnding
(Table table, Map parameters) Writes the end of the table creation statement.Constructors in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform with parameters of type TableModifierConstructorDescriptionModelBasedResultSetIterator
(PlatformImplBase platform, Database model, ResultSet resultSet, Table[] queryHints, boolean cleanUpAfterFinish) Creates a new iterator. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.axion
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.axion with parameters of type TableModifier and TypeMethodDescriptionvoid
Outputs the DDL to drop the table.protected void
AxionModelReader.removeSystemIndices
(DatabaseMetaDataWrapper metaData, Table table) Removes system indices (generated by the database for primary and foreign keys) from the table.protected void
AxionBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
AxionBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.cloudscape
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.cloudscape with parameters of type TableModifier and TypeMethodDescriptionCloudscapeBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected void
CloudscapeBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.db2
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.db2 that return TableModifier and TypeMethodDescriptionprotected Table
Db2ModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.db2 with parameters of type TableModifier and TypeMethodDescriptionDb2Builder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
Db2ModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
Db2Builder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
Db2Builder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
Db2Builder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.derby
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.derby with parameters of type TableModifier and TypeMethodDescriptionprotected boolean
DerbyModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
DerbyModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
DerbyBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
DerbyBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
DerbyBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.firebird
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.firebird that return TableModifier and TypeMethodDescriptionprotected Table
FirebirdModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.firebird with parameters of type TableModifier and TypeMethodDescriptionvoid
FirebirdBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).protected void
FirebirdModelReader.determineAutoIncrementColumns
(Table table) Helper method that determines the auto increment status using Firebird's system tables.FirebirdModelReader.determineSchemaOf
(Connection connection, String schemaPattern, Table table) Tries to find the schema to which the given table belongs.void
Outputs the DDL to drop the table.protected String
FirebirdBuilder.getGeneratorName
(Table table, Column column) Determines the name of the generator for an auto-increment column.FirebirdBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
FirebirdModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
FirebirdModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
FirebirdBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
FirebirdBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
FirebirdBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.hsqldb
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.hsqldb that return TableModifier and TypeMethodDescriptionprotected Table
HsqlDbModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.hsqldb with parameters of type TableModifier and TypeMethodDescriptionvoid
Outputs the DDL to drop the table.HsqlDbBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
HsqlDbModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
HsqlDbModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
HsqlDbBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.interbase
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.interbase that return TableModifier and TypeMethodDescriptionprotected Table
InterbaseModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.interbase with parameters of type TableModifier and TypeMethodDescriptionprotected void
InterbaseModelReader.adjustColumns
(Table table) Adjusts the columns in the table by fixing types and default values.void
InterbaseBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).protected void
InterbaseModelReader.determineAutoIncrementColumns
(Table table) Helper method that determines the auto increment status using Interbase's system tables.protected void
InterbaseModelReader.determineExtraColumnInfo
(Table table) Helper method that determines extra column info from the system tables: default value, precision, scale.InterbaseModelReader.determineSchemaOf
(Connection connection, String schemaPattern, Table table) Tries to find the schema to which the given table belongs.void
Outputs the DDL to drop the table.protected String
InterbaseBuilder.getGeneratorName
(Table table, Column column) Determines the name of the generator for an auto-increment column.InterbaseBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected String
InterbaseBuilder.getTriggerName
(Table table, Column column) Determines the name of the trigger for an auto-increment column.protected boolean
InterbaseModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
InterbaseModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
InterbaseBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
InterbaseBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
InterbaseBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.maxdb
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.maxdb with parameters of type TableModifier and TypeMethodDescriptionprotected void
MaxDbBuilder.writeExternalForeignKeyCreateStmt
(Database database, Table table, ForeignKey key) Writes a single foreign key constraint using a alter table statement.protected void
MaxDbBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.protected void
MaxDbBuilder.writeExternalPrimaryKeysCreateStmt
(Table table, Column[] primaryKeyColumns) Writes the primary key constraints of the table as alter table statements. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mckoi
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mckoi that return TableModifier and TypeMethodDescriptionprotected Table
MckoiModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mckoi with parameters of type TableModifier and TypeMethodDescriptionprotected void
MckoiBuilder.createAutoIncrementSequence
(Table table, Column column) Creates the sequence necessary for the auto-increment of the given column.void
MckoiBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).protected void
MckoiBuilder.dropAutoIncrementSequence
(Table table, Column column) Drops the sequence used for the auto-increment of the given column.void
Outputs the DDL to drop the table.MckoiBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected void
MckoiBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
MckoiBuilder.writeColumnDefaultValue
(Table table, Column column) Prints the default value of the column. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mssql
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mssql that return TableModifier and TypeMethodDescriptionprotected Table
MSSqlModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mssql with parameters of type TableModifier and TypeMethodDescriptionprotected void
MSSqlPlatform.afterInsert
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been inserted into the specified table.protected void
MSSqlPlatform.afterUpdate
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been updated in the specified table.protected void
MSSqlPlatform.beforeInsert
(Connection connection, Table table) Allows platforms to issue statements directly before rows are inserted into the specified table.protected void
MSSqlPlatform.beforeUpdate
(Connection connection, Table table) Allows platforms to issue statements directly before rows are updated in the specified table.void
MSSqlBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).void
MSSqlBuilder.dropExternalForeignKeys
(Table table) Creates external foreignkey drop statements.void
Outputs the DDL to drop the table.MSSqlBuilder.getDeleteSql
(Table table, Map pkValues, boolean genPlaceholders) Creates the SQL for deleting an object from the specified table.protected String
MSSqlBuilder.getDisableIdentityOverrideSql
(Table table) Returns the SQL to disable identity override mode.protected String
MSSqlBuilder.getEnableIdentityOverrideSql
(Table table) Returns the SQL to enable identity override mode.MSSqlBuilder.getInsertSql
(Table table, Map columnValues, boolean genPlaceholders) Creates the SQL for inserting an object into the specified table.MSSqlBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.MSSqlBuilder.getUpdateSql
(Table table, Map columnValues, boolean genPlaceholders) Creates the SQL for updating an object in the specified table.protected boolean
MSSqlModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
MSSqlBuilder.processColumnChange
(Table sourceTable, Table targetTable, Column sourceColumn, Column targetColumn, boolean typeChange) Processes a change to a column.protected void
MSSqlBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
MSSqlBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.protected void
MSSqlBuilder.writeCopyDataStatement
(Table sourceTable, Table targetTable) Writes a statement that copies the data from the source to the target table.protected void
MSSqlBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.void
MSSqlBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mysql
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mysql that return TableModifier and TypeMethodDescriptionprotected Table
MySqlModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.mysql with parameters of type TableModifier and TypeMethodDescriptionvoid
Outputs the DDL to drop the table.MySqlBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
MySqlModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
MySqlModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
MySqlBuilder.processColumnChange
(Table sourceTable, Table targetTable, Column sourceColumn, Column targetColumn) Processes a change to a column.protected void
MySqlBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
MySqlBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.protected void
MySqlBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.protected void
MySqlBuilder.writeTableCreationStmtEnding
(Table table, Map parameters) Writes the end of the table creation statement. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.oracle
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.oracle that return TableModifier and TypeMethodDescriptionprotected Table
Oracle10ModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.protected Table
Oracle8ModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.oracle with parameters of type TableModifier and TypeMethodDescriptionprotected void
Oracle8Builder.createAutoIncrementSequence
(Table table, Column column) Creates the sequence necessary for the auto-increment of the given column.protected void
Oracle8Builder.createAutoIncrementTrigger
(Table table, Column column) Creates the trigger necessary for the auto-increment of the given column.void
Oracle8Builder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).protected void
Oracle8Builder.createTemporaryTable
(Database database, Table table, Map parameters) Outputs the DDL to create the given temporary table.protected void
Oracle8ModelReader.determineAutoIncrementColumns
(Table table) Helper method that determines the auto increment status using Firebird's system tables.protected void
Oracle8Builder.dropAutoIncrementSequence
(Table table, Column column) Drops the sequence used for the auto-increment of the given column.protected void
Oracle8Builder.dropAutoIncrementTrigger
(Table table, Column column) Drops the trigger used for the auto-increment of the given column.void
Oracle8Builder.dropExternalForeignKeys
(Table table) Creates external foreignkey drop statements.void
Outputs the DDL to drop the table.void
Outputs the DDL to drop the table.protected void
Oracle8Builder.dropTemporaryTable
(Database database, Table table) Outputs the DDL to drop the given temporary table.Oracle8Builder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
Oracle8ModelReader.isAutoIncrement
(Table table, Column column) Tries to determine whether the given column is an identity column.protected void
Oracle8Builder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
Oracle8Builder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
Oracle8Builder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.postgresql
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.postgresql that return TableModifier and TypeMethodDescriptionprotected Table
PostgreSqlModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.postgresql with parameters of type TableModifier and TypeMethodDescriptionvoid
PostgreSqlBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).void
Outputs the DDL to drop the table.PostgreSqlBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
PostgreSqlModelReader.isInternalForeignKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, Index index) Tries to determine whether the index is the internal database-generated index for the given foreign key.protected boolean
PostgreSqlModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
PostgreSqlBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
PostgreSqlBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.void
PostgreSqlBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.sapdb
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.sapdb with parameters of type TableModifier and TypeMethodDescriptionvoid
Outputs the DDL to drop the table.SapDbBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected void
SapDbBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.protected void
SapDbBuilder.writeColumnAutoIncrementStmt
(Table table, Column column) Prints that the column is an auto increment column.protected void
SapDbBuilder.writeExternalForeignKeyCreateStmt
(Database database, Table table, ForeignKey key) Writes a single foreign key constraint using a alter table statement.protected void
SapDbBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.protected void
SapDbBuilder.writeExternalPrimaryKeysCreateStmt
(Table table, Column[] primaryKeyColumns) Writes the primary key constraints of the table as alter table statements. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.sybase
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.sybase that return TableModifier and TypeMethodDescriptionprotected Table
SybaseModelReader.readTable
(DatabaseMetaDataWrapper metaData, Map values) Reads the next table from the meta data.Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.platform.sybase with parameters of type TableModifier and TypeMethodDescriptionprotected void
SybasePlatform.afterInsert
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been inserted into the specified table.protected void
SybasePlatform.afterUpdate
(Connection connection, Table table) Allows platforms to issue statements directly after rows have been updated in the specified table.protected void
SybasePlatform.beforeInsert
(Connection connection, Table table) Allows platforms to issue statements directly before rows are inserted into the specified table.protected void
SybasePlatform.beforeUpdate
(Connection connection, Table table) Allows platforms to issue statements directly before rows are updated in the specified table.void
SybaseBuilder.createTable
(Database database, Table table, Map parameters) Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys).void
SybaseBuilder.dropExternalForeignKeys
(Table table) Creates external foreignkey drop statements.void
Outputs the DDL to drop the table.Queries for a list of dyna beans representing rows of the given query.SybasePlatform.fetch
(Database model, String sql, Collection parameters, Table[] queryHints, int start, int end) Queries for a list of dyna beans representing rows of the given query.protected String
SybaseBuilder.getDisableIdentityOverrideSql
(Table table) Returns the SQL to disable identity override mode.protected String
SybaseBuilder.getEnableIdentityOverrideSql
(Table table) Returns the SQL to enable identity override mode.SybaseBuilder.getSelectLastIdentityValues
(Table table) Generates the SQL for querying the id that was created in the last insertion operation.protected boolean
SybaseModelReader.isInternalPrimaryKeyIndex
(DatabaseMetaDataWrapper metaData, Table table, Index index) Tries to determine whether the index is the internal database-generated index for the given table's primary key.protected void
SybaseBuilder.processColumnChange
(Table sourceTable, Table targetTable, Column sourceColumn, Column targetColumn) Processes a change to a column.protected void
SybaseBuilder.processTableStructureChanges
(Database currentModel, Database desiredModel, Table sourceTable, Table targetTable, Map parameters, List changes) Allows database-specific implementations to handle changes in a database specific manner.Performs the given SQL query returning an iterator over the results.SybasePlatform.query
(Database model, String sql, Collection parameters, Table[] queryHints) Performs the given parameterized SQL query returning an iterator over the results.protected void
SybaseBuilder.writeColumn
(Table table, Column column) Outputs the DDL for the specified column.protected void
SybaseBuilder.writeCopyDataStatement
(Table sourceTable, Table targetTable) Writes a statement that copies the data from the source to the target table.protected void
SybaseBuilder.writeExternalForeignKeyDropStmt
(Table table, ForeignKey foreignKey) Generates the statement to drop a foreignkey constraint from the database using an alter table statement.void
SybaseBuilder.writeExternalIndexDropStmt
(Table table, Index index) Generates the statement to drop a non-embedded index from the database.protected void
SybaseBuilder.writeTableCreationStmtEnding
(Table table, Map parameters) Writes the end of the table creation statement. -
Uses of Table in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task
Methods in edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task with parameters of type TableModifier and TypeMethodDescriptionboolean
TableSpecificParameter.isForTable
(Table table, boolean caseSensitive) Determines whether this parameter is applicable to the given table.