public abstract class IndexAccess extends Simple
Modifier and Type | Field and Description |
---|---|
IndexContext |
ictx
Index context.
|
Modifier and Type | Method and Description |
---|---|
abstract NodeIter |
iter(QueryContext qc)
Evaluates the expression and returns an iterator on the resulting items.
|
boolean |
iterable()
Indicates if the items returned by this expression are iterable, i.e., if returned nodes are
in document order and contain no duplicates.
|
void |
size(long s)
Sets the number of results.
|
accept, checkUp, compile, count, exprSize, has, inline, plan, removable
atomItem, atomValue, checkAtomic, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, compBln, copyType, ctxValue, ebv, item, optPre, optPre, preEval, seqType, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toEmptyNode, toEmptyToken, toFloat, toFunc, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNumber, toQNm, toQNm, toToken, toToken, value
atomIter, copy, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, isValue, markTailCalls, optimize, optimizeEbv, sameAs, typeCheck, uses, visitAll
addPlan, addPlan, description, planAttr, planElem, toErrorString, toString
public final IndexContext ictx
public void size(long s)
s
- number of resultspublic abstract NodeIter iter(QueryContext qc) throws QueryException
Expr
Expr.item(QueryContext, InputInfo)
must be implemented
by an expression, as it may be called by this method.iter
in class ParseExpr
qc
- query contextQueryException
- query exceptionpublic final boolean iterable()
Expr
AxisPath
.Copyright © 2005–2015 BaseX Team. All rights reserved.