org.pentaho.di.core.database
Class DatabaseMetaInformation
java.lang.Object
  
org.pentaho.di.core.database.DatabaseMetaInformation
public class DatabaseMetaInformation
- extends Object
 
Contains the schema's, catalogs, tables, views, synonyms, etc we can find in the databases...
- Since:
 
  - 7-apr-2005
 
- Author:
 
  - Matt
 
 
 
 
 
FILTER_CATALOG_LIST
public static final String FILTER_CATALOG_LIST
- See Also:
 - Constant Field Values
 
FILTER_SCHEMA_LIST
public static final String FILTER_SCHEMA_LIST
- See Also:
 - Constant Field Values
 
DatabaseMetaInformation
public DatabaseMetaInformation(DatabaseMeta databaseMeta)
- Create a new DatabaseMetaData object for the given database connection
 
getCatalogs
public Catalog[] getCatalogs()
- Returns:
 - Returns the catalogs.
 
 
setCatalogs
public void setCatalogs(Catalog[] catalogs)
- Parameters:
 catalogs - The catalogs to set.
 
getDbInfo
public DatabaseMeta getDbInfo()
- Returns:
 - Returns the DatabaseMeta.
 
 
setDbInfo
public void setDbInfo(DatabaseMeta value)
- Parameters:
 value - The DatabaseMeta to set.
 
getSchemas
public Schema[] getSchemas()
- Returns:
 - Returns the schemas.
 
 
setSchemas
public void setSchemas(Schema[] schemas)
- Parameters:
 schemas - The schemas to set.
 
getTables
public String[] getTables()
- Returns:
 - Returns the tables.
 
 
setTables
public void setTables(String[] tables)
- Parameters:
 tables - The tables to set.
 
getViews
public String[] getViews()
- Returns:
 - Returns the views.
 
 
setViews
public void setViews(String[] views)
- Parameters:
 views - The views to set.
 
setSynonyms
public void setSynonyms(String[] synonyms)
- Parameters:
 synonyms - The synonyms to set.
 
getSynonyms
public String[] getSynonyms()
- Returns:
 - Returns the synonyms.
 
 
getProcedures
public String[] getProcedures()
- Returns:
 - Returns the procedures.
 
 
setProcedures
public void setProcedures(String[] procedures)
- Parameters:
 procedures - The procedures to set.
 
getData
public void getData(LoggingObjectInterface parentLoggingObject,
                    ProgressMonitorListener monitor)
             throws KettleDatabaseException
- Throws:
 KettleDatabaseException
 
getTableMap
public Map<String,Collection<String>> getTableMap()
 
setTableMap
public void setTableMap(Map<String,Collection<String>> tableMap)
 
getViewMap
public Map<String,Collection<String>> getViewMap()
 
setViewMap
public void setViewMap(Map<String,Collection<String>> viewMap)
 
getSynonymMap
public Map<String,Collection<String>> getSynonymMap()
 
setSynonymMap
public void setSynonymMap(Map<String,Collection<String>> synonymMap)