|
||||||||||
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.sapdb.SapDbBuilder
org.apache.ddlutils.platform.maxdb.MaxDbBuilder
public class MaxDbBuilder
The SQL Builder for MaxDB.
Field Summary |
---|
Fields inherited from class org.apache.ddlutils.platform.SqlBuilder |
---|
_log, SIZE_PLACEHOLDER |
Constructor Summary | |
---|---|
MaxDbBuilder(Platform platform)
Creates a new builder instance. |
Method Summary | |
---|---|
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. |
protected void |
writeExternalPrimaryKeysCreateStmt(Table table,
Column[] primaryKeyColumns)
Writes the primary key constraints of the table as alter table statements. |
Methods inherited from class org.apache.ddlutils.platform.sapdb.SapDbBuilder |
---|
dropTable, getSelectLastIdentityValues, processChange, processChange, processChange, processChange, processChange, processTableStructureChanges, writeColumnAutoIncrementStmt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxDbBuilder(Platform platform)
platform
- The plaftform this builder belongs toMethod Detail |
---|
protected void writeExternalPrimaryKeysCreateStmt(Table table, Column[] primaryKeyColumns) throws java.io.IOException
writeExternalPrimaryKeysCreateStmt
in class SapDbBuilder
table
- The tableprimaryKeyColumns
- The primary key columns
java.io.IOException
protected void writeExternalForeignKeyCreateStmt(Database database, Table table, ForeignKey key) throws java.io.IOException
writeExternalForeignKeyCreateStmt
in class SapDbBuilder
database
- The database modeltable
- The tablekey
- The foreign key
java.io.IOException
protected void writeExternalForeignKeyDropStmt(Table table, ForeignKey foreignKey) throws java.io.IOException
writeExternalForeignKeyDropStmt
in class SapDbBuilder
table
- The tableforeignKey
- The foreign key
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |