Class IndexLister
java.lang.Object
org.apache.derby.iapi.sql.dictionary.IndexLister
This interface gathers up some tasty information about the indices on a
table from the DataDictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long[]private String[]private IndexRowGenerator[]private long[]private String[]private IndexRowGenerator[]private TableDescriptor///////////////////////////////////////////////////////////////////// -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidReads all the indices on the table and populates arrays with the corresponding index row generators and index conglomerate ids.long[]Returns an array of distinct index conglomerate ids on a table. erasing entries for duplicate indexes (which share same conglomerate).String[]Returns an array of index names for all distinct indexes on a table. erasing entries for duplicate indexes (which share same conglomerate).Returns an array of distinct index row generators on a table, erasing entries for duplicate indexes (which share same conglomerate).long[]Returns an array of all the index conglomerate ids on a table.Returns an array of all the index row generators on a table.
-
Field Details
-
tableDescriptor
///////////////////////////////////////////////////////////////////// -
indexRowGenerators
-
indexConglomerateNumbers
private long[] indexConglomerateNumbers -
indexNames
-
distinctIndexRowGenerators
-
distinctIndexConglomerateNumbers
private long[] distinctIndexConglomerateNumbers -
distinctIndexNames
-
-
Constructor Details
-
IndexLister
Make an IndexLister- Parameters:
tableDescriptor- Describes the table in question.
-
-
Method Details
-
getIndexRowGenerators
Returns an array of all the index row generators on a table.- Returns:
- an array of index row generators
- Throws:
StandardException- Thrown on error
-
getIndexConglomerateNumbers
Returns an array of all the index conglomerate ids on a table.- Returns:
- an array of index conglomerate ids
- Throws:
StandardException- Thrown on error
-
getDistinctIndexRowGenerators
Returns an array of distinct index row generators on a table, erasing entries for duplicate indexes (which share same conglomerate).- Returns:
- an array of index row generators
- Throws:
StandardException- Thrown on error
-
getDistinctIndexConglomerateNumbers
Returns an array of distinct index conglomerate ids on a table. erasing entries for duplicate indexes (which share same conglomerate).- Returns:
- an array of index conglomerate ids
- Throws:
StandardException- Thrown on error
-
getDistinctIndexNames
Returns an array of index names for all distinct indexes on a table. erasing entries for duplicate indexes (which share same conglomerate).- Returns:
- an array of index names
- Throws:
StandardException- Thrown on error
-
getAllIndexes
Reads all the indices on the table and populates arrays with the corresponding index row generators and index conglomerate ids.- Throws:
StandardException- Thrown on error
-