public final class Let extends ForLet
| Constructor and Description |
|---|
Let(InputInfo ii,
Expr e,
Var v)
Constructor.
|
Let(InputInfo ii,
Expr e,
Var v,
boolean s)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Let |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
boolean |
declares(Var v)
Checks if the given variable is declared by this clause.
|
Iter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items.
|
void |
plan(FElem plan)
Creates an expression tree.
|
java.lang.String |
toString() |
Var[] |
vars()
Gathers all variables declared by this clause.
|
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, iterable, markTailCalls, sameAspublic Let(InputInfo ii, Expr e, Var v)
ii - input infoe - variable inputv - variablepublic Let comp(QueryContext ctx) throws QueryException
Exprcomp in class ForLetctx - query contextQueryException - query exceptionpublic Iter iter(QueryContext ctx)
ExprExpr.item(org.basex.query.QueryContext, org.basex.util.InputInfo) must be implemented
by an expression, as it may be called by this method.public void plan(FElem plan)
ExprInfopublic boolean declares(Var v)
ForLet