|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.index.Index
public abstract class Index
This interface defines the methods which have to be implemented by an index structure.
Constructor Summary | |
---|---|
Index()
|
Method Summary | |
---|---|
void |
close()
Close the index. |
abstract IndexIterator |
ids(IndexToken tok)
Returns an iterator for the index results. |
abstract byte[] |
info()
Returns information on the index structure. |
abstract int |
nrIDs(IndexToken tok)
Returns the (approximate/estimated) number of ids for the specified token. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Index()
Method Detail |
---|
public abstract byte[] info()
public abstract IndexIterator ids(IndexToken tok)
tok
- token to be found
public abstract int nrIDs(IndexToken tok)
tok
- token to be found
public void close() throws java.io.IOException
java.io.IOException
- in case of write errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |