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
-
Constructor Summary
ConstructorDescriptionDatabaseMetaInformation
(DatabaseMeta databaseMeta) Create a new DatabaseMetaData object for the given database connection -
Method Summary
Modifier and TypeMethodDescriptionCatalog[]
void
getData
(LoggingObjectInterface parentLoggingObject, ProgressMonitorListener monitor) String[]
Schema[]
String[]
String[]
String[]
getViews()
void
setCatalogs
(Catalog[] catalogs) void
setDbInfo
(DatabaseMeta value) void
setProcedures
(String[] procedures) void
setSchemas
(Schema[] schemas) void
setSynonymMap
(Map<String, Collection<String>> synonymMap) void
setSynonyms
(String[] synonyms) void
setTableMap
(Map<String, Collection<String>> tableMap) void
void
setViewMap
(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
-