| Package | Description |
|---|---|
| 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.gemfirexd |
This package contains the platform implementation for the
GemFire GemFireXD 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.
|
| Modifier and Type | Method and Description |
|---|---|
Column |
ColumnChangeImplBase.findChangedColumn(Database model,
boolean caseSensitive)
Finds the column object corresponding to the changed column in the given database model.
|
Column |
ColumnChange.findChangedColumn(Database model,
boolean caseSensitive)
Finds the column object corresponding to the changed column in the given database model.
|
Column |
ColumnDefinitionChange.getNewColumn()
Returns the new column definition.
|
Column |
AddColumnChange.getNewColumn()
Returns the new column.
|
| Modifier and Type | Method and Description |
|---|---|
protected ColumnDefinitionChange |
ModelComparator.compareColumns(Table sourceTable,
Column sourceColumn,
Table targetTable,
Column targetColumn)
Compares the two columns and returns the change necessary to create the second
column from the first one if they differe.
|
protected String[] |
ModelComparator.getIntermediateColumnNamesFor(Column[] columns,
Table intermediateTable)
Returns the names of the columns in the intermediate table corresponding to the given column objects.
|
static boolean |
ColumnDefinitionChange.isAutoIncrementChanged(Column sourceColumn,
Column targetColumn)
Determines whether the auto increment status of the given target column is different from that of the given source column.
|
static boolean |
ColumnDefinitionChange.isChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the definition of the given target column is different from the one of the given source column.
|
static boolean |
ColumnDefinitionChange.isDefaultValueChanged(Column sourceColumn,
Column targetColumn)
Determines whether the default value of the given target column is different from the one of the given source column.
|
static boolean |
ColumnDefinitionChange.isRequiredStatusChanged(Column sourceColumn,
Column targetColumn)
Determines whether the required status of the given target column is different from that of the given source column.
|
static boolean |
ColumnDefinitionChange.isSizeChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the size or precision/scale of the given target column is different from that of the given source column.
|
static boolean |
ColumnDefinitionChange.isSizeReduced(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the size or precision/scale of the given target column is smaller than that of the given source column.
|
static boolean |
ColumnDefinitionChange.isTypeChanged(PlatformInfo platformInfo,
Column sourceColumn,
Column targetColumn)
Determines whether the jdbc type of the given target column is different from the one of the given source column.
|
| Constructor and Description |
|---|
AddColumnChange(String tableName,
Column newColumn,
String previousColumnName,
String nextColumnName)
Creates a new change object.
|
ColumnDefinitionChange(String tableName,
String columnName,
Column newColumnDef)
Creates a new change object.
|
| Modifier and Type | Method and Description |
|---|---|
Column |
SqlDynaProperty.getColumn()
Returns the column for which this property is defined.
|
| Constructor and Description |
|---|
SqlDynaProperty(Column column)
Creates a property instance for the given column that accepts any data type.
|
SqlDynaProperty(Column column,
Class type)
Creates a property instance for the given column that only accepts the given type.
|
| Modifier and Type | Method and Description |
|---|---|
SqlTypeConverter |
ConverterConfiguration.getRegisteredConverter(Table table,
Column column)
Returns the converter registered for the specified column.
|
| Constructor and Description |
|---|
ColumnXmlWriter(Column column,
String value)
Creates a new column writer.
|
| Modifier and Type | Method and Description |
|---|---|
Column |
CloneHelper.clone(Column source,
boolean clonePrimaryKeyStatus)
Returns a clone of the given source column.
|
Column |
Table.findColumn(String name)
Finds the column with the specified name, using case insensitive matching.
|
Column |
Table.findColumn(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.
|
Column[] |
Table.getRequiredColumns()
Returns the required (not-nullable) columns in this table.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Column |
CloneHelper.clone(Column source,
boolean clonePrimaryKeyStatus)
Returns a clone of the given source column.
|
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 |
IndexImplBase.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.
|
| Constructor and Description |
|---|
IndexColumn(Column column)
Creates a new index column object.
|
Reference(Column localColumn,
Column foreignColumn)
Creates a new reference between the two given columns.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
JdbcModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SqlBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
protected boolean |
SqlBuilder.columnsDiffer(Column currentColumn,
Column desiredColumn)
Compares the current column in the database with the desired one.
|
void |
SqlBuilder.createPrimaryKey(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements.
|
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 String |
SqlBuilder.getBareNativeType(Column column)
Returns the bare database-native type for the given column without any size specifies.
|
protected String |
SqlBuilder.getColumnName(Column column)
Returns the column name.
|
protected String |
SqlBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column.
|
protected String |
SqlBuilder.getNativeType(Column column)
Returns the database-native type for the given column.
|
protected Object |
PlatformImplBase.getObjectFromResultSet(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 String |
SqlBuilder.getSizeSpec(Column column)
Returns the size specification for the given column.
|
protected String |
SqlBuilder.getSqlType(Column column)
Returns the full SQL type specification (including size and precision/scale) for the
given column.
|
protected String |
SqlBuilder.getSqlType(Column column,
String nativeType)
Returns the full SQL type specification (including size and precision/scale) for the
given column.
|
protected String |
SqlBuilder.getValueAsString(Column column,
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.
|
void |
SqlBuilder.writeAddIdentityColumnUsingAlterTable(Table table,
Column column)
Write the ALTER TABLE statement to set a given column as a generated
identity column.
|
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.writePrimaryKeyStmt(Table table,
Column[] primaryKeyColumns)
Writes a primary key statement for the given columns.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AxionBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CloudscapeBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
Db2ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Db2Builder.dropColumn(Table table,
Column column)
Generates the SQL to drop a column from a table.
|
void |
Db2v8Builder.dropColumn(Table table,
Column column)
Generates the SQL to drop a column from a table.
|
protected 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
DerbyModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
FirebirdModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FirebirdBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
void |
FirebirdBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected String |
FirebirdBuilder.getGeneratorName(Table table,
Column column)
Determines the name of the generator for an auto-increment column.
|
protected String |
FirebirdBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column.
|
void |
FirebirdBuilder.insertColumn(Database model,
Table table,
Column newColumn,
Column prevColumn)
Writes the SQL to add/insert a column.
|
protected void |
FirebirdBuilder.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 |
FirebirdBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
GemFireXDBuilder.getNativeType(Column column)
Returns the database-native type for the given column.
|
void |
GemFireXDBuilder.writeAddIdentityColumnUsingAlterTable(Table table,
Column column) |
protected void |
GemFireXDBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
HsqlDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HsqlDbBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
void |
HsqlDbBuilder.insertColumn(Table table,
Column newColumn,
Column nextColumn)
Writes the SQL to add/insert a column.
|
protected void |
HsqlDbBuilder.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 |
HsqlDbBuilder.writeColumn(Table table,
Column column)
Outputs the DDL for the specified column.
|
protected void |
HsqlDbBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InterbaseBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected String |
InterbaseBuilder.getGeneratorName(Table table,
Column column)
Determines the name of the generator for an auto-increment column.
|
protected String |
InterbaseBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column.
|
protected String |
InterbaseBuilder.getTriggerName(Table table,
Column column)
Determines the name of the trigger for an auto-increment column.
|
void |
InterbaseBuilder.insertColumn(Database model,
Table table,
Column newColumn,
Column prevColumn)
Writes the SQL to add/insert a column.
|
protected void |
InterbaseBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
MaxDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaxDbBuilder.createPrimaryKey(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
MckoiModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
MSSqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MSSqlBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
void |
MSSqlBuilder.dropColumn(Table table,
Column column)
Generates the SQL to drop a column from a table.
|
protected String |
MSSqlBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the column.
|
protected String |
MSSqlBuilder.getValueAsString(Column column,
Object value)
Generates the string representation of the given value.
|
void |
MSSqlBuilder.recreateColumn(Table table,
Column curColumn,
Column newColumn)
Writes the SQL to recreate a column, e.g.
|
protected void |
MSSqlBuilder.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 |
MSSqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
protected void |
MSSqlBuilder.writeDropConstraintStatement(Table table,
Column column,
String typeIdentifier)
Writes the SQL to drop a constraint, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
MySqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
protected Column |
MySql50ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MySqlBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
void |
MySqlBuilder.insertColumn(Table table,
Column newColumn,
Column prevColumn)
Writes the SQL to add/insert a column.
|
void |
MySqlBuilder.recreateColumn(Table table,
Column column)
Writes the SQL to recreate a column, e.g.
|
protected boolean |
MySqlBuilder.shouldGeneratePrimaryKeys(Column[] primaryKeyColumns)
Determines whether we should generate a primary key constraint for the given
primary key columns.
|
protected void |
MySqlBuilder.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 |
MySqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
Oracle8ModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Oracle8Builder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a 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.
|
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.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected String |
Oracle8Builder.getNativeDefaultValue(Column column)
Returns the native default value for the column.
|
protected String |
Oracle9Builder.getNativeType(Column column)
Returns the database-native type for the given column.
|
protected String |
Oracle8Builder.getSqlType(Column column)
Returns the full SQL type specification (including size and precision/scale) for the
given column.
|
protected boolean |
Oracle8ModelReader.isAutoIncrement(Table table,
Column column)
Tries to determine whether the given column is an identity column.
|
protected void |
Oracle8Builder.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 |
Oracle8Builder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
PostgreSqlModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PostgreSqlBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
void |
PostgreSqlBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected void |
PostgreSqlBuilder.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 |
PostgreSqlBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
SapDbModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SapDbBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
void |
SapDbBuilder.changeColumnDefaultValue(Table table,
Column column,
String newDefaultValue)
Writes the SQL to set the default value of the given column.
|
void |
SapDbBuilder.changeColumnRequiredStatus(Table table,
Column column,
boolean isRequired)
Writes the SQL to set the required status of the given column.
|
void |
SapDbBuilder.createPrimaryKey(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements.
|
void |
SapDbBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected void |
SapDbBuilder.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 |
SapDbBuilder.writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column.
|
| Modifier and Type | Method and Description |
|---|---|
protected Column |
SybaseModelReader.readColumn(DatabaseMetaDataWrapper metaData,
Map values)
Extracts a column definition from the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SybaseBuilder.addColumn(Database model,
Table table,
Column newColumn)
Prints the SQL for adding a column to a table.
|
void |
SybaseBuilder.changeColumn(Table table,
Column column,
Column newColumn)
Writes the SQL to change the given column.
|
void |
SybaseBuilder.changeColumnDefaultValue(Table table,
Column column,
String newDefaultValue)
Writes the SQL to set the default value of the given column.
|
void |
SybaseBuilder.dropColumn(Table table,
Column column)
Writes the SQL to drop a column.
|
protected String |
SybaseBuilder.getNativeDefaultValue(Column column)
Returns the native default value for the 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.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.