public final class PartFunc extends UserFunc
| Constructor and Description |
|---|
PartFunc(InputInfo ii,
Expr func,
Var[] arg)
Function constructor for dynamic calls.
|
PartFunc(InputInfo ii,
TypedFunc fun,
Var[] arg)
Function constructor for static calls.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
void |
plan(Serializer ser)
Serializes the expression tree.
|
java.lang.String |
toString() |
checkBln, checkColl, checkCreate, checkCtx, checkDbl, checkDBNode, checkEStr, checkEStr, checkIO, checkItem, checkItr, checkItr, checkMap, checkNode, checkNoEmpty, checkStr, checkType, checkUp, checkUp, checkWrite, compBln, ebv, optPre, preEval, size, test, typeaddText, compEbv, hasFreeVars, indexAccessible, indexEquivalent, isEmpty, isFunction, isItem, isVacuous, isValue, iterable, markTailCalls, sameAsdescription, infopublic PartFunc(InputInfo ii, TypedFunc fun, Var[] arg)
ii - input infofun - typed function expressionarg - argumentspublic void plan(Serializer ser) throws java.io.IOException
ExprInfopublic Expr comp(QueryContext ctx) throws QueryException
Exprcomp in class UserFuncctx - query contextQueryException - query exception