org.jumpmind.db.platform.firebird
Class FirebirdDdlReader

java.lang.Object
  extended by org.jumpmind.db.platform.AbstractJdbcDdlReader
      extended by org.jumpmind.db.platform.firebird.FirebirdDdlReader
All Implemented Interfaces:
IDdlReader

public class FirebirdDdlReader
extends AbstractJdbcDdlReader


Field Summary
 
Fields inherited from class org.jumpmind.db.platform.AbstractJdbcDdlReader
log
 
Constructor Summary
FirebirdDdlReader(IDatabasePlatform platform)
           
 
Method Summary
protected  void determineAutoIncrementColumns(Connection connection, Table table)
           
protected  String getTableNamePattern(String tableName)
           
protected  boolean isInternalForeignKeyIndex(Connection connection, DatabaseMetaDataWrapper metaData, Table table, ForeignKey fk, IIndex index)
           
protected  boolean isInternalPrimaryKeyIndex(Connection connection, DatabaseMetaDataWrapper metaData, Table table, IIndex index)
           
protected  Column readColumn(DatabaseMetaDataWrapper metaData, Map<String,Object> values)
           
protected  Collection<Column> readColumns(DatabaseMetaDataWrapper metaData, String tableName)
           
protected  Collection<ForeignKey> readForeignKeys(Connection connection, DatabaseMetaDataWrapper metaData, String tableName)
           
protected  Collection<IIndex> readIndices(Connection connection, DatabaseMetaDataWrapper metaData, String tableName)
           
protected  Collection<String> readPrimaryKeyNames(DatabaseMetaDataWrapper metaData, String tableName)
           
protected  Table readTable(Connection connection, DatabaseMetaDataWrapper metaData, Map<String,Object> values)
           
protected  void setPrimaryKeyConstraintName(Connection connection, Table table)
           
 
Methods inherited from class org.jumpmind.db.platform.AbstractJdbcDdlReader
appendIdentifier, close, close, determineAutoIncrementFromResultSetMetaData, determineAutoIncrementFromResultSetMetaData, getCatalogNames, getColumnNames, getColumnsForColumn, getColumnsForFK, getColumnsForIndex, getColumnsForPK, getColumnsForTable, getDatabase, getDefaultCatalogPattern, getDefaultColumnPattern, getDefaultSchemaPattern, getDefaultTablePattern, getDefaultTableTypes, getPlatform, getPlatformInfo, getResultSetCatalogName, getResultSetSchemaName, getSchemaNames, getTableNames, getUnsupportedTableTypes, initColumnsForColumn, initColumnsForFK, initColumnsForIndex, initColumnsForPK, initColumnsForTable, mapUnknownJdbcTypeForColumn, matches, postprocessModelFromDatabase, postprocessTableFromDatabase, readForeignKey, readIndex, readMetaData, readPrimaryKeyName, readTable, readTables, readTables, removeInternalForeignKeyIndex, removeInternalPrimaryKeyIndex, removeSystemIndices, setDefaultCatalogPattern, setDefaultColumnPattern, setDefaultSchemaPattern, setDefaultTablePattern, setDefaultTableTypes, unescape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FirebirdDdlReader

public FirebirdDdlReader(IDatabasePlatform platform)
Method Detail

readTable

protected Table readTable(Connection connection,
                          DatabaseMetaDataWrapper metaData,
                          Map<String,Object> values)
                   throws SQLException
Overrides:
readTable in class AbstractJdbcDdlReader
Throws:
SQLException

setPrimaryKeyConstraintName

protected void setPrimaryKeyConstraintName(Connection connection,
                                           Table table)
                                    throws SQLException
Throws:
SQLException

readColumns

protected Collection<Column> readColumns(DatabaseMetaDataWrapper metaData,
                                         String tableName)
                                  throws SQLException
Overrides:
readColumns in class AbstractJdbcDdlReader
Throws:
SQLException

readColumn

protected Column readColumn(DatabaseMetaDataWrapper metaData,
                            Map<String,Object> values)
                     throws SQLException
Overrides:
readColumn in class AbstractJdbcDdlReader
Throws:
SQLException

determineAutoIncrementColumns

protected void determineAutoIncrementColumns(Connection connection,
                                             Table table)
                                      throws SQLException
Throws:
SQLException

readPrimaryKeyNames

protected Collection<String> readPrimaryKeyNames(DatabaseMetaDataWrapper metaData,
                                                 String tableName)
                                          throws SQLException
Overrides:
readPrimaryKeyNames in class AbstractJdbcDdlReader
Throws:
SQLException

readForeignKeys

protected Collection<ForeignKey> readForeignKeys(Connection connection,
                                                 DatabaseMetaDataWrapper metaData,
                                                 String tableName)
                                          throws SQLException
Overrides:
readForeignKeys in class AbstractJdbcDdlReader
Throws:
SQLException

readIndices

protected Collection<IIndex> readIndices(Connection connection,
                                         DatabaseMetaDataWrapper metaData,
                                         String tableName)
                                  throws SQLException
Overrides:
readIndices in class AbstractJdbcDdlReader
Throws:
SQLException

isInternalPrimaryKeyIndex

protected boolean isInternalPrimaryKeyIndex(Connection connection,
                                            DatabaseMetaDataWrapper metaData,
                                            Table table,
                                            IIndex index)
                                     throws SQLException
Overrides:
isInternalPrimaryKeyIndex in class AbstractJdbcDdlReader
Throws:
SQLException

isInternalForeignKeyIndex

protected boolean isInternalForeignKeyIndex(Connection connection,
                                            DatabaseMetaDataWrapper metaData,
                                            Table table,
                                            ForeignKey fk,
                                            IIndex index)
                                     throws SQLException
Overrides:
isInternalForeignKeyIndex in class AbstractJdbcDdlReader
Throws:
SQLException

getTableNamePattern

protected String getTableNamePattern(String tableName)
Overrides:
getTableNamePattern in class AbstractJdbcDdlReader


Copyright © 2007-2013 JumpMind, Inc.. All Rights Reserved.