|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader
org.eclipse.datatools.connectivity.sqm.loader.JDBCCatalogLoader
public class JDBCCatalogLoader
Base loader implementation for loading a database's catalog objects. This class may be specialized as necessary to meet a particular vendor's needs.
| Field Summary | |
|---|---|
static java.lang.String |
COLUMN_TABLE_CAT
The column name containing the catalog name. |
| Constructor Summary | |
|---|---|
JDBCCatalogLoader(ICatalogObject catalogObject)
This constructs the loader using a CatalogFilterProvider filter. |
|
JDBCCatalogLoader(ICatalogObject catalogObject,
IConnectionFilterProvider connectionFilterProvider)
|
|
| Method Summary | |
|---|---|
void |
clearCatalogs(java.util.Collection catalogs)
Removes the specified catalogs from the model. |
java.util.Collection |
loadCatalogs()
Deprecated. see loadCatalogs(List, Collection) |
void |
loadCatalogs(java.util.List containmentList,
java.util.Collection existingCatalogs)
Loads the "catalog" objects from the database. |
| Methods inherited from class org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader |
|---|
getCatalogObject, setCatalogObject |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COLUMN_TABLE_CAT
java.sql.DatabaseMetaData.getCatalogs(),
Constant Field Values| Constructor Detail |
|---|
public JDBCCatalogLoader(ICatalogObject catalogObject)
catalogObject - the Database object upon which this loader operates.
public JDBCCatalogLoader(ICatalogObject catalogObject,
IConnectionFilterProvider connectionFilterProvider)
catalogObject - the Database object upon which this loader operates.connectionFilterProvider - the filter provider used for filtering
the "catalog" objects being loaded| Method Detail |
|---|
public java.util.Collection loadCatalogs()
throws java.sql.SQLException
loadCatalogs(List, Collection)
java.sql.SQLException - if an error occurred during loading.
public void loadCatalogs(java.util.List containmentList,
java.util.Collection existingCatalogs)
throws java.sql.SQLException
containmentList - the containment list held by parentexistingCatalogs - the catalog objects which were previously loaded
java.sql.SQLException - if an error occurred during loading.public void clearCatalogs(java.util.Collection catalogs)
catalogs - the catalogs to be removed from the model.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||