Uses of Class
org.apache.ddlutils.model.Table

Packages that use Table
org.apache.ddlutils This package mainly contains the database platform abstraction, Platform and the factory to create instances for individual platforms, PlatformFactory
org.apache.ddlutils.alteration Contains the algorithm for comparing two database models and determining what needs to be changed to migrate one to the other. 
org.apache.ddlutils.dynabean Provides the special DdlUtils implementations of DynaClass and DynaBean that directly map to tables in the database model. 
org.apache.ddlutils.io The org.apache.ddlutils.io package contains a classes for input and output of both the database schemas and data files. 
org.apache.ddlutils.model This package contains the classes making up the database model. 
org.apache.ddlutils.platform This package contains the platform implementations for the individual databases. 
org.apache.ddlutils.platform.axion This package contains the platform implementation for the Axion database. 
org.apache.ddlutils.platform.cloudscape This package contains the platform implementation for the Cloudscape database. 
org.apache.ddlutils.platform.db2 This package contains the platform implementation for the DB2 UDB database. 
org.apache.ddlutils.platform.derby This package contains the platform implementation for the Apache Derby database. 
org.apache.ddlutils.platform.firebird This package contains the platform implementation for the Firebird database. 
org.apache.ddlutils.platform.hsqldb This package contains the platform implementation for the HSQLDB database. 
org.apache.ddlutils.platform.interbase This package contains the platform implementation for the Interbase database. 
org.apache.ddlutils.platform.maxdb This package contains the platform implementation for the MaxDB database. 
org.apache.ddlutils.platform.mckoi This package contains the platform implementation for the Mckoi database. 
org.apache.ddlutils.platform.mssql This package contains the platform implementation for the Sql Server database. 
org.apache.ddlutils.platform.mysql This package contains the platform implementation for the MySQL database. 
org.apache.ddlutils.platform.oracle This package contains the platform implementation for the Oracle database. 
org.apache.ddlutils.platform.postgresql This package contains the platform implementation for the PostgreSQL database. 
org.apache.ddlutils.platform.sapdb This package contains the platform implementation for the SAP DB database. 
org.apache.ddlutils.platform.sybase This package contains the platform implementation for the Sybase ASE database. 
org.apache.ddlutils.task The org.apache.ddlutils.task package contains the Ant tasks provided by DdlUtils. 
 

Uses of Table in org.apache.ddlutils
 

Methods in org.apache.ddlutils with parameters of type Table
 void Platform.dropTable(java.sql.Connection connection, Database model, Table table, boolean continueOnError)
          Drops the specified table and all foreign keys pointing to it.
 void Platform.dropTable(Database model, Table table, boolean continueOnError)
          Drops the specified table and all foreign keys pointing to it.
 java.util.List Platform.fetch(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List Platform.fetch(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints, int start, int end)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List Platform.fetch(Database model, java.lang.String sql, Table[] queryHints)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List Platform.fetch(Database model, java.lang.String sql, Table[] queryHints, int start, int end)
          Queries for a list of dyna beans representing rows of the given query.
 java.lang.String Platform.getDropTableSql(Database model, Table table, boolean continueOnError)
          Returns the SQL for dropping the given table and all foreign keys pointing to it.
 java.util.Iterator Platform.query(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints)
          Performs the given parameterized SQL query returning an iterator over the results.
 java.util.Iterator Platform.query(Database model, java.lang.String sql, Table[] queryHints)
          Performs the given SQL query returning an iterator over the results.
 

Uses of Table in org.apache.ddlutils.alteration
 

Methods in org.apache.ddlutils.alteration that return Table
 Table TableChangeImplBase.getChangedTable()
          Returns the affected table.
 Table TableChange.getChangedTable()
          Returns the affected table from the original model.
 Table AddTableChange.getNewTable()
          Returns the new table.
 

Methods in org.apache.ddlutils.alteration with parameters of type Table
 java.util.List ModelComparator.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.
 java.util.List 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 org.apache.ddlutils.alteration with parameters of type Table
AddColumnChange(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, java.lang.String newDefaultValue)
          Creates a new change object.
ColumnOrderChange(Table table, java.util.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 org.apache.ddlutils.dynabean
 

Methods in org.apache.ddlutils.dynabean that return Table
 Table SqlDynaClass.getTable()
          Returns the table for which this dyna class is defined.
 

Methods in org.apache.ddlutils.dynabean with parameters of type Table
 org.apache.commons.beanutils.DynaBean DynaClassCache.copy(Table table, java.lang.Object source)
          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.
 SqlDynaClass DynaClassCache.getDynaClass(Table table)
          Returns the SqlDynaClass 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 org.apache.ddlutils.dynabean with parameters of type Table
SqlDynaClass(Table table, SqlDynaProperty[] properties)
          Creates a new dyna class instance for the given table that has the given properties.
 

Uses of Table in org.apache.ddlutils.io
 

Methods in org.apache.ddlutils.io that return Table
 Table Identity.getTable()
          Returns the table that this identity is for.
 

Methods in org.apache.ddlutils.io with parameters of type Table
 SqlTypeConverter ConverterConfiguration.getRegisteredConverter(Table table, Column column)
          Returns the converter registered for the specified column.
 

Constructors in org.apache.ddlutils.io with parameters of type Table
DynaSqlCreateRule(Database model, Table table, DataSink receiver)
          Creates a new creation rule that creates dyna bean instances.
Identity(Table table)
          Creates a new identity object for the given table.
Identity(Table table, java.lang.String fkName)
          Creates a new identity object for the given table.
 

Uses of Table in org.apache.ddlutils.model
 

Methods in org.apache.ddlutils.model that return Table
 Table Database.findTable(java.lang.String name)
          Finds the table with the specified name, using case insensitive matching.
 Table Database.findTable(java.lang.String name, boolean caseSensitive)
          Finds the table with the specified name, using case insensitive matching.
 Table ForeignKey.getForeignTable()
          Returns the foreign table.
 Table Database.getTable(int idx)
          Returns the table at the specified position.
 Table[] Database.getTables()
          Returns the tables in this model.
 

Methods in org.apache.ddlutils.model with parameters of type Table
 void Database.addTable(int idx, Table table)
          Adds a table at the specified position.
 void Database.addTable(Table table)
          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 org.apache.ddlutils.platform
 

Methods in org.apache.ddlutils.platform that return 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.
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, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform with parameters of type Table
 void CreationParameters.addParameter(Table table, java.lang.String paramName, java.lang.String paramValue)
          Adds a parameter.
protected  void PlatformImplBase.afterInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been inserted into the specified table.
protected  void PlatformImplBase.afterUpdate(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been updated in the specified table.
protected  void PlatformImplBase.beforeInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly before rows are inserted into the specified table.
protected  void PlatformImplBase.beforeUpdate(java.sql.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, java.sql.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, java.util.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, java.util.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 the ResultSetMetaData.isAutoIncrement(int) method.
 java.lang.String JdbcModelReader.determineSchemaOf(java.sql.Connection connection, java.lang.String schemaPattern, Table table)
          Deprecated. Will be removed once full schema support is in place
 void SqlBuilder.dropExternalForeignKeys(Table table)
          Creates external foreignkey drop statements.
 void PlatformImplBase.dropTable(java.sql.Connection connection, Database model, Table table, boolean continueOnError)
          Drops the specified table and all foreign keys pointing to it.
 void SqlBuilder.dropTable(Database database, Table table)
          Outputs the DDL required to drop the given table.
 void PlatformImplBase.dropTable(Database model, Table table, boolean continueOnError)
          Drops the specified table and all foreign keys pointing to it.
 void SqlBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
protected  void SqlBuilder.dropTemporaryTable(Database database, Table table)
          Outputs the DDL to drop the given temporary table.
 java.util.List PlatformImplBase.fetch(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List PlatformImplBase.fetch(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints, int start, int end)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List PlatformImplBase.fetch(Database model, java.lang.String sql, Table[] queryHints)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List PlatformImplBase.fetch(Database model, java.lang.String sql, 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.
 java.lang.String SqlBuilder.getConstraintName(java.lang.String prefix, Table table, java.lang.String secondPart, java.lang.String suffix)
          Returns the constraint name.
 java.lang.String SqlBuilder.getDeleteSql(Table table, java.util.Map pkValues, boolean genPlaceholders)
          Creates the SQL for deleting an object from the specified table.
 java.lang.String PlatformImplBase.getDropTableSql(Database model, Table table, boolean continueOnError)
          Returns the SQL for dropping the given table and all foreign keys pointing to it.
 java.lang.String SqlBuilder.getForeignKeyName(Table table, ForeignKey fk)
          Returns the name to be used for the given foreign key.
 java.lang.String SqlBuilder.getInsertSql(Table table, java.util.Map columnValues, boolean genPlaceholders)
          Creates the SQL for inserting an object into the specified table.
protected  java.lang.Object PlatformImplBase.getObjectFromResultSet(java.sql.ResultSet resultSet, java.lang.String columnName, Table table)
          Helper method esp.
 java.util.Map 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.
 java.lang.String SqlBuilder.getSelectLastIdentityValues(Table table)
          Generates the SQL for querying the id that was created in the last insertion operation.
 java.lang.String 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.
 java.lang.String SqlBuilder.getUpdateSql(Table table, java.util.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, java.util.Map parameters, java.util.List changes)
          Allows database-specific implementations to handle changes in a database specific manner.
 java.util.Iterator PlatformImplBase.query(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints)
          Performs the given parameterized SQL query returning an iterator over the results.
 java.util.Iterator PlatformImplBase.query(Database model, java.lang.String sql, Table[] queryHints)
          Performs the given 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, java.util.Map parameters)
          Writes the table creation statement without the statement end.
protected  void SqlBuilder.writeTableCreationStmtEnding(Table table, java.util.Map parameters)
          Writes the end of the table creation statement.
 

Constructors in org.apache.ddlutils.platform with parameters of type Table
ModelBasedResultSetIterator(PlatformImplBase platform, Database model, java.sql.ResultSet resultSet, Table[] queryHints, boolean cleanUpAfterFinish)
          Creates a new iterator.
 

Uses of Table in org.apache.ddlutils.platform.axion
 

Methods in org.apache.ddlutils.platform.axion with parameters of type Table
 void AxionBuilder.dropTable(Table table)
          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 org.apache.ddlutils.platform.cloudscape
 

Methods in org.apache.ddlutils.platform.cloudscape with parameters of type Table
 java.lang.String CloudscapeBuilder.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 org.apache.ddlutils.platform.db2
 

Methods in org.apache.ddlutils.platform.db2 that return Table
protected  Table Db2ModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.db2 with parameters of type Table
 java.lang.String Db2Builder.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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.derby
 

Methods in org.apache.ddlutils.platform.derby with parameters of type Table
protected  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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.firebird
 

Methods in org.apache.ddlutils.platform.firebird that return Table
protected  Table FirebirdModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.firebird with parameters of type Table
 void FirebirdBuilder.createTable(Database database, Table table, java.util.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.
 java.lang.String FirebirdModelReader.determineSchemaOf(java.sql.Connection connection, java.lang.String schemaPattern, Table table)
          Tries to find the schema to which the given table belongs.
 void FirebirdBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
protected  java.lang.String FirebirdBuilder.getGeneratorName(Table table, Column column)
          Determines the name of the generator for an auto-increment column.
 java.lang.String 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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.hsqldb
 

Methods in org.apache.ddlutils.platform.hsqldb that return Table
protected  Table HsqlDbModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.hsqldb with parameters of type Table
 void HsqlDbBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String 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, java.util.Map parameters, java.util.List changes)
          Allows database-specific implementations to handle changes in a database specific manner.
 

Uses of Table in org.apache.ddlutils.platform.interbase
 

Methods in org.apache.ddlutils.platform.interbase that return Table
protected  Table InterbaseModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.interbase with parameters of type Table
protected  void InterbaseModelReader.adjustColumns(Table table)
          Adjusts the columns in the table by fixing types and default values.
 void InterbaseBuilder.createTable(Database database, Table table, java.util.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.
 java.lang.String InterbaseModelReader.determineSchemaOf(java.sql.Connection connection, java.lang.String schemaPattern, Table table)
          Tries to find the schema to which the given table belongs.
 void InterbaseBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
protected  java.lang.String InterbaseBuilder.getGeneratorName(Table table, Column column)
          Determines the name of the generator for an auto-increment column.
 java.lang.String InterbaseBuilder.getSelectLastIdentityValues(Table table)
          Generates the SQL for querying the id that was created in the last insertion operation.
protected  java.lang.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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.maxdb
 

Methods in org.apache.ddlutils.platform.maxdb with parameters of type Table
protected  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 org.apache.ddlutils.platform.mckoi
 

Methods in org.apache.ddlutils.platform.mckoi that return Table
protected  Table MckoiModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.mckoi with parameters of type Table
protected  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, java.util.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 MckoiBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String 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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.mssql
 

Methods in org.apache.ddlutils.platform.mssql that return Table
protected  Table MSSqlModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.mssql with parameters of type Table
protected  void MSSqlPlatform.afterInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been inserted into the specified table.
protected  void MSSqlPlatform.afterUpdate(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been updated in the specified table.
protected  void MSSqlPlatform.beforeInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly before rows are inserted into the specified table.
protected  void MSSqlPlatform.beforeUpdate(java.sql.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, java.util.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 MSSqlBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String MSSqlBuilder.getDeleteSql(Table table, java.util.Map pkValues, boolean genPlaceholders)
          Creates the SQL for deleting an object from the specified table.
protected  java.lang.String MSSqlBuilder.getDisableIdentityOverrideSql(Table table)
          Returns the SQL to disable identity override mode.
protected  java.lang.String MSSqlBuilder.getEnableIdentityOverrideSql(Table table)
          Returns the SQL to enable identity override mode.
 java.lang.String MSSqlBuilder.getInsertSql(Table table, java.util.Map columnValues, boolean genPlaceholders)
          Creates the SQL for inserting an object into the specified table.
 java.lang.String MSSqlBuilder.getSelectLastIdentityValues(Table table)
          Generates the SQL for querying the id that was created in the last insertion operation.
 java.lang.String MSSqlBuilder.getUpdateSql(Table table, java.util.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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.mysql
 

Methods in org.apache.ddlutils.platform.mysql that return Table
protected  Table MySqlModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.mysql with parameters of type Table
 void MySqlBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String 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, java.util.Map parameters, java.util.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, java.util.Map parameters)
          Writes the end of the table creation statement.
 

Uses of Table in org.apache.ddlutils.platform.oracle
 

Methods in org.apache.ddlutils.platform.oracle that return Table
protected  Table Oracle8ModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
protected  Table Oracle10ModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.oracle with parameters of type Table
protected  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, java.util.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, java.util.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 Oracle8Builder.dropTable(Table table)
          Outputs the DDL to drop the table.
 void Oracle10Builder.dropTable(Table table)
          Outputs the DDL to drop the table.
protected  void Oracle8Builder.dropTemporaryTable(Database database, Table table)
          Outputs the DDL to drop the given temporary table.
 java.lang.String 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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.postgresql
 

Methods in org.apache.ddlutils.platform.postgresql that return Table
protected  Table PostgreSqlModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.postgresql with parameters of type Table
 void PostgreSqlBuilder.createTable(Database database, Table table, java.util.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 PostgreSqlBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String 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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.sapdb
 

Methods in org.apache.ddlutils.platform.sapdb with parameters of type Table
 void SapDbBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.lang.String 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, java.util.Map parameters, java.util.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 org.apache.ddlutils.platform.sybase
 

Methods in org.apache.ddlutils.platform.sybase that return Table
protected  Table SybaseModelReader.readTable(DatabaseMetaDataWrapper metaData, java.util.Map values)
          Reads the next table from the meta data.
 

Methods in org.apache.ddlutils.platform.sybase with parameters of type Table
protected  void SybasePlatform.afterInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been inserted into the specified table.
protected  void SybasePlatform.afterUpdate(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly after rows have been updated in the specified table.
protected  void SybasePlatform.beforeInsert(java.sql.Connection connection, Table table)
          Allows platforms to issue statements directly before rows are inserted into the specified table.
protected  void SybasePlatform.beforeUpdate(java.sql.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, java.util.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 SybaseBuilder.dropTable(Table table)
          Outputs the DDL to drop the table.
 java.util.List SybasePlatform.fetch(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints, int start, int end)
          Queries for a list of dyna beans representing rows of the given query.
 java.util.List SybasePlatform.fetch(Database model, java.lang.String sql, Table[] queryHints, int start, int end)
          Queries for a list of dyna beans representing rows of the given query.
protected  java.lang.String SybaseBuilder.getDisableIdentityOverrideSql(Table table)
          Returns the SQL to disable identity override mode.
protected  java.lang.String SybaseBuilder.getEnableIdentityOverrideSql(Table table)
          Returns the SQL to enable identity override mode.
 java.lang.String 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, java.util.Map parameters, java.util.List changes)
          Allows database-specific implementations to handle changes in a database specific manner.
 java.util.Iterator SybasePlatform.query(Database model, java.lang.String sql, java.util.Collection parameters, Table[] queryHints)
          Performs the given parameterized SQL query returning an iterator over the results.
 java.util.Iterator SybasePlatform.query(Database model, java.lang.String sql, Table[] queryHints)
          Performs the given 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, java.util.Map parameters)
          Writes the end of the table creation statement.
 

Uses of Table in org.apache.ddlutils.task
 

Methods in org.apache.ddlutils.task with parameters of type Table
 boolean TableSpecificParameter.isForTable(Table table, boolean caseSensitive)
          Determines whether this parameter is applicable to the given table.
 



Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.