|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.index.Index
org.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,
java.lang.String db,
boolean txt)
Constructor, initializing the index structure. |
|
| Method Summary | |
|---|---|
void |
close()
Close the index. |
IndexIterator |
ids(IndexToken tok)
Returns an iterator for the index results. |
byte[] |
info()
Returns information on the index structure. |
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 Values(Data d,
java.lang.String db,
boolean txt)
throws java.io.IOException
d - data referencedb - name of the databasetxt - value type (texts/attributes)
java.io.IOException - IO Exception| Method Detail |
|---|
public byte[] info()
Index
info in class Indexpublic IndexIterator ids(IndexToken tok)
Index
ids in class Indextok - token to be found
public int nrIDs(IndexToken tok)
Index
nrIDs in class Indextok - token to be found
public void close()
throws java.io.IOException
Index
close in class Indexjava.io.IOException - in case of write errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||