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