|
||||||||||
| 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 Exception| Method Detail |
|---|
public byte[] info()
Index
info in interface Indexpublic IndexIterator ids(IndexToken tok)
Index
ids in interface Indextok - token to be found
public int nrIDs(IndexToken it)
Index
nrIDs in interface Indexit - token to be found
public byte[] nextPres()
public void close()
throws IOException
Index
close in interface IndexIOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||