|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimpledb.metadata.IndexMgr
public class IndexMgr
The index manager. The index manager has similar functionalty to the table manager.
Constructor Summary | |
---|---|
IndexMgr(boolean isnew,
TableMgr tblmgr,
Transaction tx)
Creates the index manager. |
Method Summary | |
---|---|
void |
createIndex(String idxname,
String tblname,
String fldname,
Transaction tx)
Creates an index of the specified type for the specified field. |
Map<String,IndexInfo> |
getIndexInfo(String tblname,
Transaction tx)
Returns a map containing the index info for all indexes on the specified table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexMgr(boolean isnew, TableMgr tblmgr, Transaction tx)
isnew
- indicates whether this is a new databasetx
- the system startup transactionMethod Detail |
---|
public void createIndex(String idxname, String tblname, String fldname, Transaction tx)
idxname
- the name of the indextblname
- the name of the indexed tablefldname
- the name of the indexed fieldtx
- the calling transactionpublic Map<String,IndexInfo> getIndexInfo(String tblname, Transaction tx)
tblname
- the name of the tabletx
- the calling transaction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |