com.sptci.rwt
Class SchemaAnalyser
java.lang.Object
com.sptci.rwt.Analyser
com.sptci.rwt.SchemaAnalyser
public class SchemaAnalyser
- extends Analyser
An analyser for analysing schemas in a database.
ConnectionManager manager = new ConnectionManager( "rwt" );
DBMSMetaData dmd = new DBMSAnalyser( manager ).analyse();
SchemaAnalyser analyser = new SchemaAnalyser( manager );
Collection schemas = analyser.analyse( dmd );
© Copyright 2007 Sans Pareil Technologies, Inc.
- Version:
- $Id: SchemaAnalyser.java 4123 2008-05-25 21:49:01Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-09-26
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaAnalyser
public SchemaAnalyser(ConnectionManager manager)
- Create a new instance of the class using the specified connection
manager.
- Parameters:
manager - The manager for obtaining database connections.
analyse
public Collection<SchemaMetaData> analyse(MetaData... parameters)
throws SQLException
- Returns a collection of
SchemaMetaData objects that contain the
basic information pertaining to the schemas in the database.
- Specified by:
analyse in class Analyser
- Parameters:
parameters - Must contain one parameter which is a DBMSMetaData that represents the database connected to.
- Returns:
- The collection of metadata objects representing all objects of
this type.
- Throws:
SQLException - If errors are encountered while analysisng the- See Also:
Analyser.analyse(com.sptci.rwt.MetaData...)