|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.IndexLister
public class IndexLister
This interface gathers up some tasty information about the indices on a table from the DataDictionary.
| Field Summary | |
|---|---|
private long[] |
distinctIndexConglomerateNumbers
|
private java.lang.String[] |
distinctIndexNames
|
private IndexRowGenerator[] |
distinctIndexRowGenerators
|
private long[] |
indexConglomerateNumbers
|
private java.lang.String[] |
indexNames
|
private IndexRowGenerator[] |
indexRowGenerators
|
private TableDescriptor |
tableDescriptor
|
| Constructor Summary | |
|---|---|
IndexLister(TableDescriptor tableDescriptor)
Make an IndexLister |
|
| Method Summary | |
|---|---|
private void |
getAllIndexes()
Reads all the indices on the table and populates arrays with the corresponding index row generators and index conglomerate ids. |
long[] |
getDistinctIndexConglomerateNumbers()
Returns an array of distinct index conglomerate ids on a table. |
java.lang.String[] |
getDistinctIndexNames()
Returns an array of index names for all distinct indexes on a table. |
IndexRowGenerator[] |
getDistinctIndexRowGenerators()
Returns an array of distinct index row generators on a table, erasing entries for duplicate indexes (which share same conglomerate). |
long[] |
getIndexConglomerateNumbers()
Returns an array of all the index conglomerate ids on a table. |
java.lang.String[] |
getIndexNames()
Returns an array of all the index names on a table. |
IndexRowGenerator[] |
getIndexRowGenerators()
Returns an array of all the index row generators on a table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private TableDescriptor tableDescriptor
private IndexRowGenerator[] indexRowGenerators
private long[] indexConglomerateNumbers
private java.lang.String[] indexNames
private IndexRowGenerator[] distinctIndexRowGenerators
private long[] distinctIndexConglomerateNumbers
private java.lang.String[] distinctIndexNames
| Constructor Detail |
|---|
public IndexLister(TableDescriptor tableDescriptor)
tableDescriptor - Describes the table in question.| Method Detail |
|---|
public IndexRowGenerator[] getIndexRowGenerators()
throws StandardException
StandardException - Thrown on error
public long[] getIndexConglomerateNumbers()
throws StandardException
StandardException - Thrown on error
public java.lang.String[] getIndexNames()
throws StandardException
StandardException - Thrown on error
public IndexRowGenerator[] getDistinctIndexRowGenerators()
throws StandardException
StandardException - Thrown on error
public long[] getDistinctIndexConglomerateNumbers()
throws StandardException
StandardException - Thrown on error
public java.lang.String[] getDistinctIndexNames()
throws StandardException
StandardException - Thrown on error
private void getAllIndexes()
throws StandardException
StandardException - Thrown on error
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||