public abstract class UserFuncCall extends Arr
| Modifier and Type | Method and Description |
|---|---|
Expr |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
java.lang.String |
description()
Returns a string description of the expression.
|
void |
init(UserFunc f)
Initializes the function call after all functions have been declared.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
java.lang.String |
toString() |
boolean |
uses(Expr.Use u)
Indicates if an expression uses the specified type or operation.
|
allAreValues, count, indexEquivalent, removable, remove, toStringcheckBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, item, iter, optPre, preEval, size, test, type, valueaddText, compEbv, hasFreeVars, indexAccessible, isEmpty, isFunction, isItem, isVacuous, isValue, iterable, markTailCalls, sameAspublic void init(UserFunc f)
f - function referencepublic Expr comp(QueryContext ctx) throws QueryException
Exprcomp in class Arrctx - query contextQueryException - query exceptionpublic boolean uses(Expr.Use u)
ExprExpr.comp(org.basex.query.QueryContext) methods to test the properties of sub-expressions.
It will return true as soon as at least one test is successful.public void plan(Serializer ser) throws java.io.IOException
ExprInfopublic java.lang.String description()
ExprInfoExprInfo.toString() method,
arguments are not included in the output.description in class ExprInfo