|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ddlutils.platform.SqlBuilder
org.apache.ddlutils.platform.interbase.InterbaseBuilder
The SQL Builder for the Interbase database.
| Field Summary |
| Fields inherited from class org.apache.ddlutils.platform.SqlBuilder |
_log, SIZE_PLACEHOLDER |
| Constructor Summary | |
InterbaseBuilder(PlatformInfo info)
Creates a new builder instance. |
|
| Method Summary | |
void |
createTable(Database database,
Table table,
Map parameters)
Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys). |
void |
dropTable(Table table)
Outputs the DDL to drop the table. |
protected void |
writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
protected void |
writeExternalForeignKeyCreateStmt(Database database,
Table table,
ForeignKey key)
Writes a single foreign key constraint using a alter table statement. |
protected void |
writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
Generates the statement to drop a foreignkey constraint from the database using an alter table statement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InterbaseBuilder(PlatformInfo info)
info - The platform info| Method Detail |
protected void writeExternalForeignKeyCreateStmt(Database database,
Table table,
ForeignKey key)
throws IOException
writeExternalForeignKeyCreateStmt in class SqlBuilderdatabase - The database modeltable - The tablekey - The foreign key
IOException
protected void writeExternalForeignKeyDropStmt(Table table,
ForeignKey foreignKey)
throws IOException
writeExternalForeignKeyDropStmt in class SqlBuildertable - The tableforeignKey - The foreign key
IOException
public void createTable(Database database,
Table table,
Map parameters)
throws IOException
createTable in class SqlBuilderdatabase - The database modeltable - The tableparameters - Additional platform-specific parameters for the table creation
IOException
public void dropTable(Table table)
throws IOException
dropTable in class SqlBuildertable - The table to drop
IOException
protected void writeColumnAutoIncrementStmt(Table table,
Column column)
throws IOException
writeColumnAutoIncrementStmt in class SqlBuildertable - The tablecolumn - The column
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||