|
||||||||||
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.JDBCTableIndexLoader
public class JDBCTableIndexLoader
Base loader implementation for loading a table's index objects. This class may be specialized as necessary to meet a particular vendor's needs.
Field Summary | |
---|---|
static java.lang.String |
COLUMN_ASC_OR_DESC
The column name containing the index's sort order. |
static java.lang.String |
COLUMN_COLUMN_NAME
The column name containing the index's column's name. |
static java.lang.String |
COLUMN_INDEX_NAME
The column name containing the index's name. |
static java.lang.String |
COLUMN_INDEX_QUALIFIER
The column name containing of the index catalog qualifier. |
static java.lang.String |
COLUMN_NON_UNIQUE
The column name used to define the uniqueness of the columns in the index. |
static java.lang.String |
COLUMN_TYPE
The column name containing the index's type. |
static java.lang.String |
TYPE_ORDER_ASC
Ascending index sort type. |
static java.lang.String |
TYPE_ORDER_DESC
Descending index sort type. |
Constructor Summary | |
---|---|
JDBCTableIndexLoader(ICatalogObject catalogObject)
This constructs the loader using no filtering. |
|
JDBCTableIndexLoader(ICatalogObject catalogObject,
IConnectionFilterProvider connectionFilterProvider)
|
Method Summary | |
---|---|
void |
clearIndexes(java.util.List indexes)
Removes the specified indexes from the model. |
java.util.List |
loadIndexes()
Deprecated. see loadIndexes(List, Collection) |
void |
loadIndexes(java.util.List containmentList,
java.util.Collection existingIndexes)
Loads the "index" 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_NON_UNIQUE
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String COLUMN_INDEX_QUALIFIER
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String COLUMN_INDEX_NAME
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String COLUMN_TYPE
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String COLUMN_COLUMN_NAME
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String COLUMN_ASC_OR_DESC
java.sql.DatabaseMetaData.getIndexInfo()
,
Constant Field Valuespublic static final java.lang.String TYPE_ORDER_ASC
public static final java.lang.String TYPE_ORDER_DESC
Constructor Detail |
---|
public JDBCTableIndexLoader(ICatalogObject catalogObject)
catalogObject
- the Table object upon which this loader operates.public JDBCTableIndexLoader(ICatalogObject catalogObject, IConnectionFilterProvider connectionFilterProvider)
catalogObject
- the Table object upon which this loader operates.connectionFilterProvider
- the filter provider used for filtering
the "index" objects being loadedMethod Detail |
---|
public java.util.List loadIndexes() throws java.sql.SQLException
loadIndexes(List, Collection)
java.sql.SQLException
- if an error occurred during loading.public void loadIndexes(java.util.List containmentList, java.util.Collection existingIndexes) throws java.sql.SQLException
existingIndexes
- the catalog objects which were previously loadedcontainmentList
- the containment list held by parent
java.sql.SQLException
- if an error occurred during loading.public void clearIndexes(java.util.List indexes)
indexes
- the indexes to be removed from the model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |