|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.expr.Arr
org.basex.query.expr.FunCall
public final class FunCall
Function call.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary |
|---|
| Fields inherited from class org.basex.query.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
FunCall(int i,
Expr[] a)
Function constructor. |
|
| Method Summary | |
|---|---|
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
String |
info()
Returns a string description of the expression. |
Iter |
iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
String |
toString()
|
boolean |
uses(Expr.Use u,
QueryContext ctx)
Indicates if an expression uses the specified type. |
| Methods inherited from class org.basex.query.expr.Arr |
|---|
duplicates, indexEquivalent, removable, remove |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, e, ebv, i, indexAccessible, sameAs, size, test, v |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FunCall(int i,
Expr[] a)
i - function ida - arguments| Method Detail |
|---|
public Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Arrctx - query context
QueryException - query exception
public Iter iter(QueryContext ctx)
throws QueryException
ExprExpr.atomic(org.basex.query.QueryContext) must be implemented.
iter in class Exprctx - query context
QueryException - query exceptionpublic Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public boolean uses(Expr.Use u,
QueryContext ctx)
Exprtrue is returned by default and thus assumed as "worst-case".
uses in class Arru - use type to be checkedctx - query context
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class Arrser - serializer
IOException - I/O exceptionpublic String info()
ExprInfoExprInfo.toString() method, arguments are not included
in the output.
info in class ExprInfopublic String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||