com.sptci.rwt
Class ProcedureAnalyser
java.lang.Object
com.sptci.rwt.Analyser
com.sptci.rwt.ProcedureAnalyser
public class ProcedureAnalyser
- extends Analyser
An analyser for analysing procedure type objects in the database.
© Copyright 2007 Sans Pareil Technologies, Inc.
- Version:
- $Id: ProcedureAnalyser.java 4123 2008-05-25 21:49:01Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-09-27
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcedureAnalyser
public ProcedureAnalyser(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<ProcedureMetaData> analyse(MetaData... parameters)
throws SQLException
- Returns a collection of
ProcedureMetaData objects that contain
the basic information pertaining to the procedures in the
catalog/schema. You should invoke getAdditionalAttributes(com.sptci.rwt.ProcedureMetaData)
to fetch the additional attributes that are available in
information_schema.
- Specified by:
analyse in class Analyser
- Parameters:
parameters - Must contain one parameter which is a RootMetaData that represents the catalog or
schema to restrict the analysis 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...),
Analyser.getNames(com.sptci.rwt.MetaData)
getAdditionalAttributes
public void getAdditionalAttributes(ProcedureMetaData pmd)
- Fetch additional meta data available from the
information
schema to the object.
- Parameters:
pmd - The meta data object that is to be updated.- Since:
- Version 1.1
- See Also:
AbstractProcedureAnalyser.getAdditionalAttributes(com.sptci.rwt.ProcedureMetaData)