public final class IndexAccess extends Single
| Constructor and Description |
|---|
IndexAccess(InputInfo ii,
Expr e,
IndexToken.IndexType t,
IndexContext ic)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NodeIter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items.
|
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.String |
toString() |
checkBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, item, optPre, preEval, size, test, type, valueaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, isValue, markTailCalls, sameAsdescription, infopublic IndexAccess(InputInfo ii, Expr e, IndexToken.IndexType t, IndexContext ic)
ii - input infoe - index expressiont - access typeic - index contextpublic NodeIter iter(QueryContext ctx) throws QueryException
ExprExpr.item(org.basex.query.QueryContext, org.basex.util.InputInfo) must be implemented
by an expression, as it may be called by this method.iter in class ParseExprctx - query contextQueryException - query exceptionpublic boolean iterable()
ExprAxisPath.public void plan(Serializer ser) throws java.io.IOException
ExprInfo