org.apache.ddlutils.platform.sapdb
Class SapDbModelReader

java.lang.Object
  extended by org.apache.ddlutils.platform.JdbcModelReader
      extended by org.apache.ddlutils.platform.sapdb.SapDbModelReader

public class SapDbModelReader
extends JdbcModelReader

Reads a database model from a SapDb database.

Version:
$Revision: $

Constructor Summary
SapDbModelReader(Platform platform)
          Creates a new model reader for SapDb databases.
 
Method Summary
protected  Column readColumn(DatabaseMetaDataWrapper metaData, Map values)
          Extracts a column definition from the result set.
 
Methods inherited from class org.apache.ddlutils.platform.JdbcModelReader
determineAutoIncrementFromResultSetMetaData, determineSchemaOf, getColumnsForColumn, getColumnsForFK, getColumnsForIndex, getColumnsForPK, getColumnsForTable, getConnection, getDatabase, getDatabase, getDefaultCatalogPattern, getDefaultColumnPattern, getDefaultSchemaPattern, getDefaultTablePattern, getDefaultTableTypes, getPlatform, getPlatformInfo, initColumnsForColumn, initColumnsForFK, initColumnsForIndex, initColumnsForPK, initColumnsForTable, isInternalForeignKeyIndex, isInternalPrimaryKeyIndex, matches, readColumns, readColumns, readForeignKey, readForeignKeys, readIndex, readIndices, readPrimaryKeyName, readPrimaryKeyNames, readTable, readTables, removeInternalForeignKeyIndex, removeInternalPrimaryKeyIndex, removeSystemIndices, setDefaultCatalogPattern, setDefaultColumnPattern, setDefaultSchemaPattern, setDefaultTablePattern, setDefaultTableTypes, sortForeignKeys, unescape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SapDbModelReader

public SapDbModelReader(Platform platform)
Creates a new model reader for SapDb databases.

Parameters:
platform - The platform that this model reader belongs to
Method Detail

readColumn

protected Column readColumn(DatabaseMetaDataWrapper metaData,
                            Map values)
                     throws SQLException
Extracts a column definition from the result set.

Overrides:
readColumn in class JdbcModelReader
Parameters:
metaData - The database meta data
values - The column meta data values as defined by JdbcModelReader.getColumnsForColumn()
Returns:
The column
Throws:
SQLException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.