public class AxionModelReader extends JdbcModelReader
| Constructor and Description |
|---|
AxionModelReader(Platform platform)
Creates a new model reader for Axion databases.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
closeResultSet, closeStatement, convertAction, determineAutoIncrementFromResultSetMetaData, determineSchemaOf, getColumnsForColumn, getColumnsForFK, getColumnsForIndex, getColumnsForPK, getColumnsForTable, getConnection, getDatabase, getDatabase, getDefaultCatalogPattern, getDefaultColumnPattern, getDefaultSchemaPattern, getDefaultTablePattern, getDefaultTableTypes, getLog, getPlatform, getPlatformInfo, initColumnsForColumn, initColumnsForFK, initColumnsForIndex, initColumnsForPK, initColumnsForTable, isInternalForeignKeyIndex, isInternalPrimaryKeyIndex, matches, readColumn, readColumns, readColumns, readForeignKey, readIndex, readIndices, readPrimaryKeyName, readTable, readTables, removeInternalForeignKeyIndex, removeInternalPrimaryKeyIndex, setDefaultCatalogPattern, setDefaultColumnPattern, setDefaultSchemaPattern, setDefaultTablePattern, setDefaultTableTypes, sortForeignKeys, unescapepublic AxionModelReader(Platform platform)
platform - The platform that this model reader belongs toprotected Collection readPrimaryKeyNames(DatabaseMetaDataWrapper metaData, String tableName) throws SQLException
readPrimaryKeyNames in class JdbcModelReadermetaData - The database meta datatableName - The name of the table from which to retrieve PK informationSQLExceptionprotected Collection readForeignKeys(DatabaseMetaDataWrapper metaData, String tableName) throws SQLException
readForeignKeys in class JdbcModelReadermetaData - The database meta datatableName - The name of the table from which to retrieve FK informationSQLExceptionprotected void removeSystemIndices(DatabaseMetaDataWrapper metaData, Table table) throws SQLException
removeSystemIndices in class JdbcModelReadermetaData - The database meta datatable - The tableSQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.