org.sourceforge.beanindex.store
Class IndexNodeRepository
java.lang.Object
org.sourceforge.beanindex.store.IndexNodeRepository
- public class IndexNodeRepository
- extends java.lang.Object
- Author:
- Sakthivel Muthusamy
|
Constructor Summary |
IndexNodeRepository(java.lang.String path,
java.lang.String name,
boolean enableCache,
int cacheLimit)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexNodeRepository
public IndexNodeRepository(java.lang.String path,
java.lang.String name,
boolean enableCache,
int cacheLimit)
throws java.lang.Exception
- Parameters:
path - name - enableCache - cacheLimit -
- Throws:
java.lang.Exception
readInvIndexData
public Token[] readInvIndexData(Token[] tokens)
throws java.lang.Exception
- Parameters:
tokens -
- Returns:
- Token[]
- Throws:
java.lang.Exception
readInvIndexData
public int[] readInvIndexData(int id)
throws java.lang.Exception
- Parameters:
id -
- Returns:
- int[]
- Throws:
java.lang.Exception
writeInvIndexData
public void writeInvIndexData(int[] data)
throws java.lang.Exception
- Parameters:
data -
- Throws:
java.lang.Exception
close
public void close()
throws java.lang.Exception
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Returns:
- String