| 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.
|
boolean |
sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
java.lang.Object |
toJava()
Returns a Java representation of the value.
|
SeqType |
type()
Returns the sequence type of the evaluated value.
|
int |
writeTo(Item[] arr,
int start)
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, markTailCallspublic java.lang.Object toJava()
throws QueryException
ValuetoJava in class ValueQueryException - query exceptionpublic 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 boolean sameAs(Expr cmp)
Exprpublic int writeTo(Item[] arr, int start)
Valuepublic Item itemAt(long pos)
Valuepublic boolean homogenous()
Valuehomogenous in class Valuepublic void plan(Serializer ser) throws java.io.IOException
ExprInfo