|
|||||||||
| 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.
| Nested Class Summary | |
|---|---|
static class |
Index.TYPE
Index types. |
| Method Summary | |
|---|---|
void |
close()
Close the index. |
int[][] |
idPos(byte[] tok,
FTOption ftOption)
Returns the decompressed ids for the specified token. |
int[] |
ids(byte[] tok)
Returns the node ids for the specified token. |
int[] |
ids(byte[] tok,
FTOption ftOption)
Returns the node ids for the specified token. |
void |
info(PrintOutput out)
Returns information on the index structure. |
int |
nrIDs(byte[] tok)
Returns the (approximate/estimated) number of ids for the specified token. |
| Method Detail |
|---|
void close()
throws java.io.IOException
java.io.IOException - in case of write errors
int[][] idPos(byte[] tok,
FTOption ftOption)
tok - token to be foundftOption - ftoption for token to be found
int[] ids(byte[] tok)
tok - token to be found
int[] ids(byte[] tok,
FTOption ftOption)
tok - token to be foundftOption - ftoption for token to be found
void info(PrintOutput out)
throws java.io.IOException
out - output stream
java.io.IOException - in case of write errorsint nrIDs(byte[] tok)
tok - token to be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||