|
|||||||||||
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.JDBCSchemaLoader
Base loader implementation for loading a database's schema objects. This class may be specialized as necessary to meet a particular vendor's needs.
Field Summary | |
static java.lang.String |
COLUMN_TABLE_CATALOG
The column name containing the schema's catalog name. |
static java.lang.String |
COLUMN_TABLE_SCHEM
The column name containing the schema's name. |
Constructor Summary | |
JDBCSchemaLoader(ICatalogObject catalogObject)
This constructs the loader using a SchemaFilterProvider filter. |
|
JDBCSchemaLoader(ICatalogObject catalogObject,
IConnectionFilterProvider connectionFilterProvider)
|
Method Summary | |
void |
clearSchemas(java.util.List schemas)
Removes the specified schema from the model. |
java.util.List |
loadSchemas()
Deprecated. see loadSchemas(List, Collection) |
void |
loadSchemas(java.util.List containmentList,
java.util.Collection existingSchemas)
Loads the "schema" 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_SCHEM
java.sql.DatabaseMetaData.getSchemas()
,
Constant Field Valuespublic static final java.lang.String COLUMN_TABLE_CATALOG
java.sql.DatabaseMetaData.getSchemas()
,
Constant Field ValuesConstructor Detail |
public JDBCSchemaLoader(ICatalogObject catalogObject)
catalogObject
- the Catalog object upon which this loader operates.public JDBCSchemaLoader(ICatalogObject catalogObject, IConnectionFilterProvider connectionFilterProvider)
catalogObject
- the Catalog object upon which this loader operates.connectionFilterProvider
- the filter provider used for filtering
the "schema" objects being loadedMethod Detail |
public java.util.List loadSchemas() throws java.sql.SQLException
loadSchemas(List, Collection)
java.sql.SQLException
- if an error occurred during loading.public void loadSchemas(java.util.List containmentList, java.util.Collection existingSchemas) throws java.sql.SQLException
containmentList
- the containment list held by parentexistingSchemas
- the catalog objects which were previously loaded
java.sql.SQLException
- if an error occurred during loading.public void clearSchemas(java.util.List schemas)
schemas
- the schemas to be removed from the model.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |