|
||||||||||
| 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.MemValues
public final class MemValues
This class provides a main-memory access to attribute values and text contents.
| Constructor Summary | |
|---|---|
MemValues()
|
|
| Method Summary | |
|---|---|
IndexIterator |
ids(IndexToken ind)
Returns an iterator for the index results. |
int |
index(byte[] key,
int id)
Indexes the specified keys and values. |
byte[] |
info()
Returns information on the index structure. |
int |
nrIDs(IndexToken ind)
Returns the (approximate/estimated) number of ids for the specified token. |
byte[] |
token(int id)
Returns the token for the specified id. |
| Methods inherited from class org.basex.index.Index |
|---|
close |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemValues()
| Method Detail |
|---|
public int index(byte[] key,
int id)
key - keyid - id value
public byte[] token(int id)
id - id
public IndexIterator ids(IndexToken ind)
Index
ids in class Indexind - token to be found
public int nrIDs(IndexToken ind)
Index
nrIDs in class Indexind - token to be found
public byte[] info()
Index
info in class Index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||