|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.impl.sql.catalog.IndexInfoImpl
A poor mans structure used in DataDictionaryImpl.java. Used to save information about system indexes.
Field Summary | |
(package private) int |
columnCount
|
(package private) java.lang.String[] |
columnNames
|
(package private) int[] |
columnPositions
|
(package private) long |
conglomerateNumber
|
(package private) IndexRowGenerator |
irg
|
(package private) boolean |
isUnique
|
(package private) java.lang.String |
name
|
Constructor Summary | |
(package private) |
IndexInfoImpl(long conglomerateNumber,
java.lang.String indexName,
int columnCount,
boolean isUnique,
int indexNumber,
CatalogRowFactory crf)
Constructor |
Method Summary | |
int |
getBaseColumnPosition(int colNumber)
Get the base column position for a column within a catalog given the (0-based) column number for the column within the index. |
int |
getColumnCount()
Get the column count for the index. |
long |
getConglomerateNumber()
Get the conglomerate number for the index. |
java.lang.String |
getIndexName()
Get the index name for the index. |
IndexRowGenerator |
getIndexRowGenerator()
Get the IndexRowGenerator for this index. |
boolean |
isIndexUnique()
Return whether or not this index is declared unique |
void |
setBaseColumnPosition(int colNumber,
int baseColumnPosition)
Set the base column position for a column within a catalog given the (0-based) column number for the column within the index. |
void |
setConglomerateNumber(long conglomerateNumber)
Set the conglomerate number for the index. |
void |
setIndexName(java.lang.String indexName)
Set the name for the index. |
void |
setIndexRowGenerator(IndexRowGenerator irg)
Set the IndexRowGenerator for this index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
boolean isUnique
java.lang.String[] columnNames
int[] columnPositions
IndexRowGenerator irg
int columnCount
long conglomerateNumber
java.lang.String name
Constructor Detail |
IndexInfoImpl(long conglomerateNumber, java.lang.String indexName, int columnCount, boolean isUnique, int indexNumber, CatalogRowFactory crf)
conglomerateNumber
- The conglomerate number for the indexindexName
- The name of the indexcolumnCount
- The number of columns in the indexisUnique
- Whether or not the index was declared as uniqueindexNumber
- (0-based) number of index within catalog's indexescrf
- CatalogRowFactory for the catalogMethod Detail |
public long getConglomerateNumber()
public void setConglomerateNumber(long conglomerateNumber)
conglomerateNumber
- The conglomerateNumber for the index.
public java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
indexName
- The name for the index.
public int getColumnCount()
public IndexRowGenerator getIndexRowGenerator()
public void setIndexRowGenerator(IndexRowGenerator irg)
irg
- The IndexRowGenerator for this index.
public int getBaseColumnPosition(int colNumber)
colNumber
- The column number within the index
public void setBaseColumnPosition(int colNumber, int baseColumnPosition)
colNumber
- The column number within the index
public boolean isIndexUnique()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |