|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.index.query.IndexEntries
public final class IndexEntries
This class contains information for returning index entries.
Field Summary | |
---|---|
boolean |
descending
Ascending/descending traversal. |
boolean |
prefix
Prefix/traversal flag. |
Constructor Summary | |
---|---|
IndexEntries(byte[] tok,
boolean asc,
IndexType it)
Constructor for traversing entries. |
|
IndexEntries(byte[] tok,
IndexType it)
Constructor for prefix search. |
Method Summary | |
---|---|
byte[] |
get()
Returns the current token. |
IndexType |
type()
Returns the index type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean descending
public boolean prefix
Constructor Detail |
---|
public IndexEntries(byte[] tok, IndexType it)
tok
- tokenit
- index typepublic IndexEntries(byte[] tok, boolean asc, IndexType it)
tok
- token to start withasc
- return results in ascending orderit
- index typeMethod Detail |
---|
public IndexType type()
IndexToken
type
in interface IndexToken
public byte[] get()
IndexToken
get
in interface IndexToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |