|
||||||||||
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.xquery.expr.Expr
org.basex.query.xquery.expr.Root
public final class Root
Root node.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.xquery.expr.Expr |
---|
Expr.Return, Expr.Using |
Constructor Summary | |
---|---|
Root()
|
Method Summary | |
---|---|
Expr |
comp(XQContext ctx)
Optimizes and compiles the expression. |
Iter |
iter(XQContext 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. |
Type |
returned()
Indicates if an expression returns the specified type. |
java.lang.String |
toString()
|
boolean |
uses(Expr.Using use)
Indicates if an expression uses the specified type. |
Methods inherited from class org.basex.query.xquery.expr.Expr |
---|
e, i |
Methods inherited from class org.basex.query.ExprInfo |
---|
color, info, name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Root()
Method Detail |
---|
public Expr comp(XQContext ctx)
Expr
comp
in class Expr
ctx
- query context
public Iter iter(XQContext ctx) throws XQException
Expr
iter
in class Expr
ctx
- query context
XQException
- evaluation exceptionpublic boolean uses(Expr.Using use)
Expr
uses
in class Expr
use
- using flag
public Type returned()
Expr
returned
in class Expr
public void plan(Serializer ser) throws java.io.IOException
ExprInfo
plan
in class ExprInfo
ser
- serializer
java.io.IOException
- exceptionpublic java.lang.String toString()
toString
in class ExprInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |