|
||||||||||
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. |
int |
count(IndexToken token)
Returns the (approximate/estimated) number of hits for the specified token. |
EntryIterator |
entries(IndexEntries entries)
Returns all entries that match the specified token. |
byte[] |
info()
Returns information on the index structure. |
void |
init()
Initializes the index. |
IndexIterator |
iter(IndexToken token)
Returns an iterator for the index results. |
Method Detail |
---|
void init()
byte[] info()
EntryIterator entries(IndexEntries entries)
entries
- index entries
IndexIterator iter(IndexToken token)
token
- token to be found
int count(IndexToken token)
token
- token to be found
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |