public final class IndexEntries extends Object implements IndexToken
Modifier and Type | Field and Description |
---|---|
boolean |
descending
Ascending/descending traversal.
|
boolean |
prefix
Prefix/traversal flag.
|
Constructor and Description |
---|
IndexEntries(byte[] text,
boolean asc,
IndexType type)
Constructor for traversing entries.
|
IndexEntries(byte[] text,
IndexType type)
Constructor for prefix search.
|
public boolean descending
public boolean prefix
public IndexEntries(byte[] text, IndexType type)
text
- tokentype
- index typepublic IndexEntries(byte[] text, boolean asc, IndexType type)
text
- token to start withasc
- return results in ascending ordertype
- index typepublic IndexType type()
IndexToken
type
in interface IndexToken
public byte[] get()
IndexToken
get
in interface IndexToken
Copyright © 2005–2015 BaseX Team. All rights reserved.