|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.Analyser
com.sptci.rwt.DBMSAnalyser
public class DBMSAnalyser
An analyser for analysing metadata about a database.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sptci.rwt.Analyser |
|---|
Analyser.CatalogueSchema |
| Field Summary |
|---|
| Fields inherited from class com.sptci.rwt.Analyser |
|---|
logger, manager |
| Constructor Summary | |
|---|---|
DBMSAnalyser(ConnectionManager manager)
Create a new instance of the class using the specified connection manager. |
|
| Method Summary | |
|---|---|
DBMSMetaData |
analyse()
Return a DBMSMetaData object that contains the basic
information pertaining to the database connected to. |
Collection<DBMSMetaData> |
analyse(MetaData... parameters)
Returns a collection of DBMSMetaData objects that contain the
basic information pertaining to the database. |
protected JDBCMetaData |
processJdbcMetaData(DatabaseMetaData dmd)
Fetch the JDBC driver metadata from the specified database meta data. |
protected LimitsMetaData |
processLimits(DatabaseMetaData dmd)
Fetch the limits enforced by the database. |
protected DBMSMetaData.Transaction |
processTransaction(int value)
Map the constants defined in Connection for
transaction isolation levels to the DBMSMetaData.Transaction
enumeration. |
| Methods inherited from class com.sptci.rwt.Analyser |
|---|
getNames |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DBMSAnalyser(ConnectionManager manager)
manager - The manager for obtaining database connections.| Method Detail |
|---|
public Collection<DBMSMetaData> analyse(MetaData... parameters)
throws SQLException
DBMSMetaData objects that contain the
basic information pertaining to the database.
ConnectionManager manager = new ConnectionManager( "rwt" ); Collectiondmd = new DBMSAnalyser( manager ).analyse();
analyse in class Analyserparameters - No values needed.
SQLException - If errors are encountered while analysisng theAnalyser.analyse(com.sptci.rwt.MetaData...),
analyse(),
processTransaction(int),
processJdbcMetaData(java.sql.DatabaseMetaData),
processLimits(java.sql.DatabaseMetaData)
public DBMSMetaData analyse()
throws SQLException
DBMSMetaData object that contains the basic
information pertaining to the database connected to.
SQLException - If errors are encountered while analysing the
database.analyse( MetaData... )protected DBMSMetaData.Transaction processTransaction(int value)
Connection for
transaction isolation levels to the DBMSMetaData.Transaction
enumeration.
value - The constant value that indicates the transaction level.
protected JDBCMetaData processJdbcMetaData(DatabaseMetaData dmd)
throws SQLException
dmd - The database metadata from which the JDBC driver metadata
is to be retrieved.
SQLException - If errors are encountered while fetching the
information.
protected LimitsMetaData processLimits(DatabaseMetaData dmd)
throws SQLException
dmd - The database metadata from which the database engine
limits are to be retrieved.
SQLException - If errors are encountered while fetching the
information.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||