|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Index
This interface defines the methods which have to be implemented by an index structure.
Method Summary | |
---|---|
void |
close()
Closes the index. |
IndexIterator |
ids(IndexToken tok)
Returns an iterator for the index results. |
byte[] |
info()
Returns information on the index structure. |
int |
nrIDs(IndexToken tok)
Returns the (approximate/estimated) number of ids for the specified token. |
Method Detail |
---|
byte[] info()
IndexIterator ids(IndexToken tok)
tok
- token to be found
int nrIDs(IndexToken tok)
tok
- token to be found
void close() throws IOException
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |