| Constructor and Description |
|---|
RangeSeq(long s,
long sz)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
ebv(QueryContext ctx,
InputInfo ii)
Checks if the iterator can be dissolved into an effective boolean value.
|
boolean |
homogenous()
Checks if all items of this value share the same type.
|
Item |
itemAt(long pos)
Gets the item at the given position in the value.
|
boolean |
iterable()
Returns true if the expression is iterable, i.e., if it does not contain
any duplicates and if all results are sorted.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
java.lang.Object |
toJava()
Returns a Java representation of the value.
|
java.lang.String |
toString() |
SeqType |
type()
Returns the sequence type of the evaluated value.
|
int |
writeTo(Item[] arr,
int pos)
Writes this value's items out to the given array.
|
cache, comp, count, data, description, info, isValue, iter, iterator, removable, remove, uses, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, markTailCalls, sameAspublic RangeSeq(long s,
long sz)
s - start valuesz - sizepublic java.lang.Object toJava()
Valuepublic Item ebv(QueryContext ctx, InputInfo ii) throws QueryException
Exprebv in class Exprctx - query contextii - input infoQueryException - query exceptionpublic SeqType type()
Exprpublic boolean iterable()
ExprAxisPath.public int writeTo(Item[] arr, int pos)
Valuepublic Item itemAt(long pos)
Valuepublic boolean homogenous()
Valuehomogenous in class Valuepublic void plan(Serializer ser) throws java.io.IOException
ExprInfo