|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Column | |
---|---|
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. |
Uses of Column in org.apache.ddlutils.alteration |
---|
Methods in org.apache.ddlutils.alteration that return Column | |
---|---|
Column |
ColumnRequiredChange.getChangedColumn()
Returns the column. |
Column |
ColumnChange.getChangedColumn()
Returns the affected column from the original model. |
Column |
ColumnDefaultValueChange.getChangedColumn()
Returns the column. |
Column |
ColumnSizeChange.getChangedColumn()
Returns the column. |
Column |
ColumnDataTypeChange.getChangedColumn()
Returns the column. |
Column |
RemoveColumnChange.getColumn()
Returns the column. |
Column |
ColumnAutoIncrementChange.getColumn()
Returns the column. |
Column |
AddColumnChange.getNewColumn()
Returns the new column. |
Column[] |
PrimaryKeyChange.getNewPrimaryKeyColumns()
Returns the columns making up the new primary key. |
Column |
AddColumnChange.getNextColumn()
Returns the column before which the new column should be added. |
Column[] |
PrimaryKeyChange.getOldPrimaryKeyColumns()
Returns the columns making up the original primary key. |
Column |
AddColumnChange.getPreviousColumn()
Returns the column after which the new column should be added. |
Column[] |
AddPrimaryKeyChange.getPrimaryKeyColumns()
Returns the primary key columns making up the new primary key. |
Column[] |
RemovePrimaryKeyChange.getPrimaryKeyColumns()
Returns the primary key columns making up the primary key. |
Methods in org.apache.ddlutils.alteration with parameters of type Column | |
---|---|
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. |
int |
ColumnOrderChange.getNewPosition(Column sourceColumn)
Returns the new position of the given source column. |
Constructors in org.apache.ddlutils.alteration with parameters of type Column | |
---|---|
AddColumnChange(Table table,
Column newColumn,
Column previousColumn,
Column nextColumn)
Creates a new change object. |
|
AddPrimaryKeyChange(Table table,
Column[] primaryKeyColumns)
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. |
|
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. |
|
PrimaryKeyChange(Table table,
Column[] oldPrimaryKeyColumns,
Column[] newPrimaryKeyColumns)
Creates a new change object. |
|
RemoveColumnChange(Table table,
Column column)
Creates a new change object. |
|
RemovePrimaryKeyChange(Table table,
Column[] primaryKeyColumns)
Creates a new change object. |
Uses of Column in org.apache.ddlutils.dynabean |
---|
Methods in org.apache.ddlutils.dynabean that return Column | |
---|---|
Column |
SqlDynaProperty.getColumn()
Returns the column for which this property is defined. |
Constructors in org.apache.ddlutils.dynabean with parameters of type Column | |
---|---|
SqlDynaProperty(Column column)
Creates a property instance for the given column that accepts any data type. |
|
SqlDynaProperty(Column column,
java.lang.Class type)
Creates a property instance for the given column that only accepts the given type. |
Uses of Column in org.apache.ddlutils.io |
---|
Methods in org.apache.ddlutils.io with parameters of type Column | |
---|---|
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 Column | |
---|---|
SetColumnPropertyFromSubElementRule(Column column,
SqlTypeConverter converter)
Creates a new creation rule that sets the property corresponding to the given column. |
|
SetColumnPropertyRule(Column column,
SqlTypeConverter converter,
boolean beCaseSensitive)
Creates a new creation rule that sets the property corresponding to the given column. |
Uses of Column in org.apache.ddlutils.model |
---|
Methods in org.apache.ddlutils.model that return Column | |
---|---|
Column |
Table.findColumn(java.lang.String name)
Finds the column with the specified name, using case insensitive matching. |
Column |
Table.findColumn(java.lang.String name,
boolean caseSensitive)
Finds the column with the specified name, using case insensitive matching. |
Column[] |
Table.getAutoIncrementColumns()
Returns the auto increment columns in this table. |
Column |
IndexColumn.getColumn()
Returns the indexed column. |
Column |
Table.getColumn(int idx)
Returns the column at the specified position. |
Column[] |
Table.getColumns()
Returns the columns in this table. |
Column |
Reference.getForeignColumn()
Returns the foreign column. |
Column |
Reference.getLocalColumn()
Returns the local column. |
Column[] |
Table.getPrimaryKeyColumns()
Returns the primary key columns of this table. |
Methods in org.apache.ddlutils.model with parameters of type Column | |
---|---|
void |
Table.addColumn(Column column)
Adds the given column. |
void |
Table.addColumn(Column previousColumn,
Column column)
Adds the column after the given previous column. |
void |
Table.addColumn(int idx,
Column column)
Adds the given column at the specified position. |
int |
Table.getColumnIndex(Column column)
Determines the index of the given column. |
boolean |
Index.hasColumn(Column column)
Determines whether this index includes the given column. |
boolean |
IndexImpBase.hasColumn(Column column)
Determines whether this index includes the given column. |
boolean |
ForeignKey.hasForeignColumn(Column column)
Determines whether this foreign key uses the given column as a foreign column in a reference. |
boolean |
ForeignKey.hasLocalColumn(Column column)
Determines whether this foreign key uses the given column as a local column in a reference. |
void |
Table.removeColumn(Column column)
Removes the given column. |
void |
IndexColumn.setColumn(Column column)
Sets the indexed column. |
void |
Reference.setForeignColumn(Column foreignColumn)
Sets the foreign column. |
void |
Reference.setLocalColumn(Column localColumn)
Sets the local column. |
Constructors in org.apache.ddlutils.model with parameters of type Column | |
---|---|
IndexColumn(Column column)
Creates a new index column object. |
|
Reference(Column localColumn,
Column foreignColumn)
Creates a new reference between the two given columns. |
Uses of Column in org.apache.ddlutils.platform |
---|
Methods in org.apache.ddlutils.platform that return Column | |
---|---|
protected Column |
JdbcModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform with parameters of type Column | |
---|---|
protected boolean |
SqlBuilder.columnsDiffer(Column currentColumn,
Column desiredColumn)
Compares the current column in the database with the desired one. |
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. |
protected java.lang.String |
SqlBuilder.getBareNativeType(Column column)
Returns the bare database-native type for the given column without any size specifies. |
protected java.lang.String |
SqlBuilder.getColumnName(Column column)
Returns the column name. |
protected java.lang.String |
SqlBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected java.lang.String |
SqlBuilder.getNativeType(Column column)
Returns the database-native type for the given column. |
protected java.lang.Object |
PlatformImplBase.getObjectFromResultSet(java.sql.ResultSet resultSet,
Column column,
int idx)
Helper method for retrieving the value for a column from the given result set using the type code of the column. |
protected java.lang.String |
SqlBuilder.getSqlType(Column column)
Returns the full SQL type specification (including size and precision/scale) for the given column. |
protected java.lang.String |
SqlBuilder.getValueAsString(Column column,
java.lang.Object value)
Generates the string representation of the given value. |
protected boolean |
SqlBuilder.shouldGeneratePrimaryKeys(Column[] primaryKeyColumns)
Determines whether we should generate a primary key constraint for the given primary key columns. |
protected void |
SqlBuilder.writeCastExpression(Column sourceColumn,
Column targetColumn)
Writes a cast expression that converts the value of the source column to the data type of the target column. |
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.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. |
Uses of Column in org.apache.ddlutils.platform.axion |
---|
Methods in org.apache.ddlutils.platform.axion with parameters of type Column | |
---|---|
protected void |
AxionBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.cloudscape |
---|
Methods in org.apache.ddlutils.platform.cloudscape with parameters of type Column | |
---|---|
protected void |
CloudscapeBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.db2 |
---|
Methods in org.apache.ddlutils.platform.db2 that return Column | |
---|---|
protected Column |
Db2ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.db2 with parameters of type Column | |
---|---|
protected java.lang.String |
Db2Builder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected void |
Db2Builder.writeCastExpression(Column sourceColumn,
Column targetColumn)
Writes a cast expression that converts the value of the source column to the data type of the target column. |
protected void |
Db2Builder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.derby |
---|
Methods in org.apache.ddlutils.platform.derby that return Column | |
---|---|
protected Column |
DerbyModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.derby with parameters of type Column | |
---|---|
protected java.lang.String |
DerbyBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected void |
DerbyBuilder.writeCastExpression(Column sourceColumn,
Column targetColumn)
Writes a cast expression that converts the value of the source column to the data type of the target column. |
protected void |
DerbyBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.firebird |
---|
Methods in org.apache.ddlutils.platform.firebird that return Column | |
---|---|
protected Column |
FirebirdModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.firebird with parameters of type Column | |
---|---|
protected java.lang.String |
FirebirdBuilder.getGeneratorName(Table table,
Column column)
Determines the name of the generator for an auto-increment column. |
protected java.lang.String |
FirebirdBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected void |
FirebirdBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.hsqldb |
---|
Methods in org.apache.ddlutils.platform.hsqldb that return Column | |
---|---|
protected Column |
HsqlDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Uses of Column in org.apache.ddlutils.platform.interbase |
---|
Methods in org.apache.ddlutils.platform.interbase with parameters of type Column | |
---|---|
protected java.lang.String |
InterbaseBuilder.getGeneratorName(Table table,
Column column)
Determines the name of the generator for an auto-increment column. |
protected java.lang.String |
InterbaseBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected java.lang.String |
InterbaseBuilder.getTriggerName(Table table,
Column column)
Determines the name of the trigger for an auto-increment column. |
protected void |
InterbaseBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.maxdb |
---|
Methods in org.apache.ddlutils.platform.maxdb that return Column | |
---|---|
protected Column |
MaxDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.maxdb with parameters of type Column | |
---|---|
protected void |
MaxDbBuilder.writeExternalPrimaryKeysCreateStmt(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements. |
Uses of Column in org.apache.ddlutils.platform.mckoi |
---|
Methods in org.apache.ddlutils.platform.mckoi that return Column | |
---|---|
protected Column |
MckoiModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.mckoi with parameters of type Column | |
---|---|
protected void |
MckoiBuilder.createAutoIncrementSequence(Table table,
Column column)
Creates the sequence necessary for the auto-increment of the given column. |
protected void |
MckoiBuilder.dropAutoIncrementSequence(Table table,
Column column)
Drops the sequence used for the auto-increment of the given column. |
protected void |
MckoiBuilder.writeColumnDefaultValue(Table table,
Column column)
Prints the default value of the column. |
Uses of Column in org.apache.ddlutils.platform.mssql |
---|
Methods in org.apache.ddlutils.platform.mssql that return Column | |
---|---|
protected Column |
MSSqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.mssql with parameters of type Column | |
---|---|
protected java.lang.String |
MSSqlBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected java.lang.String |
MSSqlBuilder.getValueAsString(Column column,
java.lang.Object value)
Generates the string representation of the given value. |
protected void |
MSSqlBuilder.processColumnChange(Table sourceTable,
Table targetTable,
Column sourceColumn,
Column targetColumn,
boolean typeChange)
Processes a change to a column. |
protected void |
MSSqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.mysql |
---|
Methods in org.apache.ddlutils.platform.mysql that return Column | |
---|---|
protected Column |
MySqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
protected Column |
MySql50ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.mysql with parameters of type Column | |
---|---|
protected void |
MySqlBuilder.processColumnChange(Table sourceTable,
Table targetTable,
Column sourceColumn,
Column targetColumn)
Processes a change to a column. |
protected boolean |
MySqlBuilder.shouldGeneratePrimaryKeys(Column[] primaryKeyColumns)
Determines whether we should generate a primary key constraint for the given primary key columns. |
protected void |
MySqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.oracle |
---|
Methods in org.apache.ddlutils.platform.oracle that return Column | |
---|---|
protected Column |
Oracle8ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.oracle with parameters of type Column | |
---|---|
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. |
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. |
protected java.lang.String |
Oracle8Builder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected boolean |
Oracle8ModelReader.isAutoIncrement(Table table,
Column column)
Tries to determine whether the given column is an identity column. |
protected void |
Oracle8Builder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.postgresql |
---|
Methods in org.apache.ddlutils.platform.postgresql that return Column | |
---|---|
protected Column |
PostgreSqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.postgresql with parameters of type Column | |
---|---|
protected void |
PostgreSqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
Uses of Column in org.apache.ddlutils.platform.sapdb |
---|
Methods in org.apache.ddlutils.platform.sapdb that return Column | |
---|---|
protected Column |
SapDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.sapdb with parameters of type Column | |
---|---|
protected void |
SapDbBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
protected void |
SapDbBuilder.writeExternalPrimaryKeysCreateStmt(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements. |
Uses of Column in org.apache.ddlutils.platform.sybase |
---|
Methods in org.apache.ddlutils.platform.sybase that return Column | |
---|---|
protected Column |
SybaseModelReader.readColumn(DatabaseMetaDataWrapper metaData,
java.util.Map values)
Extracts a column definition from the result set. |
Methods in org.apache.ddlutils.platform.sybase with parameters of type Column | |
---|---|
protected java.lang.String |
SybaseBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected void |
SybaseBuilder.processColumnChange(Table sourceTable,
Table targetTable,
Column sourceColumn,
Column targetColumn)
Processes a change to a column. |
protected void |
SybaseBuilder.writeCastExpression(Column sourceColumn,
Column targetColumn)
Writes a cast expression that converts the value of the source column to the data type of the target column. |
protected void |
SybaseBuilder.writeColumn(Table table,
Column column)
Outputs the DDL for the specified column. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |