|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.platform.JdbcModelReader
org.apache.ddlutils.platform.axion.AxionModelReader
Reads a database model from an Axion database.
Constructor Summary | |
AxionModelReader(Platform platform)
Creates a new model reader for Axion databases. |
Method Summary | |
protected Collection |
readForeignKeys(DatabaseMetaDataWrapper metaData,
String tableName)
Retrieves the foreign keys of the indicated table. |
protected Collection |
readPrimaryKeyNames(DatabaseMetaDataWrapper metaData,
String tableName)
Retrieves the names of the columns that make up the primary key for a given table. |
protected void |
removeSystemIndices(DatabaseMetaDataWrapper metaData,
Table table)
Removes system indices (generated by the database for primary and foreign keys) from the table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AxionModelReader(Platform platform)
platform
- The platform that this model reader belongs toMethod Detail |
protected Collection readPrimaryKeyNames(DatabaseMetaDataWrapper metaData, String tableName) throws SQLException
readPrimaryKeyNames
in class JdbcModelReader
metaData
- The database meta datatableName
- The name of the table from which to retrieve PK information
SQLException
protected Collection readForeignKeys(DatabaseMetaDataWrapper metaData, String tableName) throws SQLException
readForeignKeys
in class JdbcModelReader
metaData
- The database meta datatableName
- The name of the table from which to retrieve FK information
SQLException
protected void removeSystemIndices(DatabaseMetaDataWrapper metaData, Table table) throws SQLException
removeSystemIndices
in class JdbcModelReader
metaData
- The database meta datatable
- The table
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |