public final class JavaModuleFunc extends JavaMapping
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description()
Returns a string description of the expression.
|
protected java.lang.Object |
eval(Value[] args,
QueryContext ctx)
Returns the result of the evaluated Java function.
|
void |
plan(FElem plan)
Creates an expression tree.
|
java.lang.String |
toString() |
boolean |
uses(Expr.Use u)
Indicates if an expression uses the specified type or operation.
|
foundArgs, iter, toValue, type, type, valueallAreValues, comp, 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, optPre, preEval, size, test, typeaddText, compEbv, hasFreeVars, indexAccessible, isEmpty, isFunction, isItem, isVacuous, isValue, iterable, markTailCalls, sameAsprotected java.lang.Object eval(Value[] args, QueryContext ctx) throws QueryException
JavaMappingeval in class JavaMappingargs - argumentsctx - query contextQueryException - query exceptionpublic void plan(FElem plan)
ExprInfopublic java.lang.String description()
ExprInfoExprInfo.toString() method,
arguments are not included in the output.description in class ExprInfopublic 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.uses in class JavaMappingu - type/operation to be found