|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.index.Values
public final class Values
This class provides access to attribute values and text contents stored on disk.
Constructor Summary | |
---|---|
Values(Data d,
boolean txt)
Constructor, initializing the 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. |
byte[] |
nextPres()
Returns next pre values. |
int |
nrIDs(IndexToken it)
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 Values(Data d, boolean txt) throws IOException
d
- data referencetxt
- value type (texts/attributes)
IOException
- IO ExceptionMethod Detail |
---|
public byte[] info()
Index
info
in interface Index
public IndexIterator ids(IndexToken tok)
Index
ids
in interface Index
tok
- token to be found
public int nrIDs(IndexToken it)
Index
nrIDs
in interface Index
it
- token to be found
public byte[] nextPres()
public void close() throws IOException
Index
close
in interface Index
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |