public final class StringRange extends Object implements IndexSearch
Modifier and Type | Field and Description |
---|---|
byte[] |
max
Maximum value.
|
byte[] |
min
Minimum value.
|
boolean |
mni
Include minimum value.
|
boolean |
mxi
Include maximum value.
|
Constructor and Description |
---|
StringRange(IndexType type,
byte[] min,
boolean mni,
byte[] max,
boolean mxi)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
token()
Returns the current token.
|
IndexType |
type()
Returns the index type.
|
public final byte[] min
public final boolean mni
public final byte[] max
public final boolean mxi
public StringRange(IndexType type, byte[] min, boolean mni, byte[] max, boolean mxi)
type
- index typemin
- minimum valuemni
- include minimum valuemax
- maximum valuemxi
- include maximum valuepublic IndexType type()
IndexSearch
type
in interface IndexSearch
public byte[] token()
IndexSearch
token
in interface IndexSearch
Copyright © 2005–2023 BaseX Team. All rights reserved.