|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiitb.con.indexing.IndexCache
public class IndexCache
Caches the meta-index of the index structure. Basically it caches the non-leaf nodes of the index tree, which improves the query search.
Method Summary | ||
---|---|---|
void |
clear()
Clears the Index Cache List |
|
static IndexCache |
getInstance()
Singleton method to get the IndexCache instance |
|
|
getInstancesIds(short typeId,
java.lang.String attributeName,
K value)
Retrieves the instance ids from the index for the specified type's attribute. If index is not present in the cache, it is read from the index file and placed in the cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void clear()
public static IndexCache getInstance()
public <K extends java.lang.Comparable<K>> int[] getInstancesIds(short typeId, java.lang.String attributeName, K value)
K
- attribute data typetypeId
- type idattributeName
- attribute namevalue
- attribute value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |