|
||||||||||
| 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.func.Fun
public abstract class Fun
Abstract function definition.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary | |
|---|---|
FunDef |
func
Function description. |
| Fields inherited from class org.basex.query.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
Fun()
|
|
| Method Summary | |
|---|---|
Expr |
c(QueryContext ctx)
Compiles the function. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
String |
info()
Returns a string description of the expression. |
void |
init(FunDef f,
Expr[] e)
Initializes the function. |
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()
|
| Methods inherited from class org.basex.query.expr.Arr |
|---|
duplicates, indexEquivalent, removable, remove, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, atomic, checkCtx, checkDbl, checkItr, e, ebv, i, indexAccessible, iter, 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 |
| Field Detail |
|---|
public FunDef func
| Constructor Detail |
|---|
public Fun()
| Method Detail |
|---|
public final void init(FunDef f,
Expr[] e)
f - function descriptione - expression array
public final Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Arrctx - query context
QueryException - query exception
public Expr c(QueryContext ctx)
throws QueryException
ctx - query context
QueryException - query exceptionpublic Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public final String info()
ExprInfoExprInfo.toString() method, arguments are not included
in the output.
info in class ExprInfo
public final void plan(Serializer ser)
throws IOException
ExprInfo
plan in class Arrser - serializer
IOException - I/O exceptionpublic final String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||