com.sptci.rwt
Class StandardViewAnalyser
java.lang.Object
com.sptci.rwt.Analyser
com.sptci.rwt.AbstractViewAnalyser
com.sptci.rwt.StandardViewAnalyser
class StandardViewAnalyser
- extends AbstractViewAnalyser
An analyser for analysing view type objects in the database. View
information is retrieved from the Information Schema.
© Copyright 2007 Sans Pareil Technologies, Inc.
- Since:
- Version 1.2
- Version:
- $Id: StandardViewAnalyser.java 4123 2008-05-25 21:49:01Z rakesh $
- Author:
- Rakesh Vidyadharan 2007-11-02
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardViewAnalyser
StandardViewAnalyser(ConnectionManager manager)
- Create a new instance of the class using the specified connection
manager.
- Parameters:
manager - The manager for obtaining database connections.
getViews
protected void getViews(RootMetaData root,
Collection<ViewMetaData> collection)
throws SQLException
- Fetch the views directly from
information_schema if no
information is available through DatabaseMetaData.
- Specified by:
getViews in class AbstractViewAnalyser
- Parameters:
root - The metadata object that represents the catalog/schema for
which the views are to be retrieved.collection - The collection to which the ViewMetaData
objects are to be added.
- Throws:
SQLException - If errors are encountered while fetching the views.- See Also:
Analyser.getNames(com.sptci.rwt.MetaData)
getAdditionalAttributes
protected void getAdditionalAttributes(ViewMetaData vmd)
- Fetch additional meta data about the specified view from the
information_schema.
- Specified by:
getAdditionalAttributes in class AbstractViewAnalyser
- Parameters:
vmd - The meta data object that is to have additional attributes
populated.- See Also:
Analyser.getNames(com.sptci.rwt.MetaData)