info.informatica.data
Class SQLDataDict
java.lang.Object
info.informatica.data.SQLDataDict
- All Implemented Interfaces:
- DataDict
public class SQLDataDict
- extends Object
- implements DataDict
Data dictionary with metadata stored on database tables.
- Version:
- 1.03
- Author:
- amengual at informatica dot info
SQLDataDict
public SQLDataDict()
SQLDataDict
public SQLDataDict(Properties p)
setProperties
public void setProperties(Properties p)
load
public void load(Connection con)
throws SQLException
- Throws:
SQLException
getMetaData
public MetaData getMetaData(String name)
throws DataException
- Description copied from interface:
DataDict
- Gets the MetaData associated to the name.
- Specified by:
getMetaData in interface DataDict
- Returns:
- the MetaData associated to the name, or null if none.
- Throws:
DataException
getQuery
public String getQuery(String s)
throws DataException
- Description copied from interface:
DataDict
- The data dictionary can also be used to access specific queries
identified by a name. This method returns a query by its name.
- Specified by:
getQuery in interface DataDict
- Parameters:
s - name of the query
- Returns:
- the query String, or null if none defined with that name
- Throws:
DataException