| Modifier and Type | Method and Description |
|---|---|
static Value |
get(Item[] v,
int s)
Returns a value representation of the specified items.
|
int |
hash(InputInfo ii)
Returns a hash code for this value.
|
Item |
item(QueryContext ctx,
InputInfo ii)
Evaluates the expression and returns the resulting item or
a
null reference, if the expression yields an empty sequence. |
ValueIter |
iter()
Returns an iterator.
|
long |
size()
Returns the sequence size or 1.
|
Item |
test(QueryContext ctx,
InputInfo ii)
Performs a predicate test and returns the item if test was successful.
|
java.lang.String |
toString() |
cache, comp, count, data, description, homogenous, info, isValue, itemAt, iter, iterator, removable, remove, toJava, uses, value, writeToaddText, compEbv, ebv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, iterable, markTailCalls, sameAs, typepublic static Value get(Item[] v, int s)
v - values - sizepublic final long size()
Exprpublic final Item item(QueryContext ctx, InputInfo ii) throws QueryException
Exprnull reference, if the expression yields an empty sequence.
If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented
by an expression, as it may be called by this method.item in class Exprctx - query contextii - input infoQueryException - query exceptionpublic final Item test(QueryContext ctx, InputInfo ii) throws QueryException
Exprtest in class Exprctx - query contextii - input infoQueryException - query exceptionpublic final int hash(InputInfo ii) throws QueryException
Valuehash in class Valueii - input infoQueryException - if atomization can't be applied (e.g. function item)