public final class FTOpts extends FTExpr
Constructor and Description |
---|
FTOpts(InputInfo info,
FTExpr expr,
FTOpt opt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FTExpr |
compile(QueryContext qc,
VarScope scp)
Compiles and optimizes the expression, assigns types and cardinalities.
|
FTExpr |
copy(QueryContext qc,
VarScope scp,
IntObjMap<Var> vs)
Copies an expression.
|
FTNode |
item(QueryContext qc,
InputInfo ii)
This method is called by the sequential full-text evaluation.
|
FTIter |
iter(QueryContext qc)
This method is called by the index-based full-text evaluation.
|
void |
plan(FElem plan)
Creates an expression tree.
|
String |
toString() |
accept, checkUp, count, exprSize, has, inline, optimize, removable
atomItem, atomValue, checkAtomic, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, compBln, copyType, ctxValue, ebv, optPre, optPre, preEval, seqType, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toEmptyNode, toEmptyToken, toFloat, toFunc, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNumber, toQNm, toQNm, toToken, toToken, value
atomIter, data, hasFreeVars, indexAccessible, inlineAll, isEmpty, isFunction, isVacuous, isValue, iterable, markTailCalls, optimizeEbv, sameAs, typeCheck, uses, visitAll
addPlan, addPlan, description, planAttr, planElem, toErrorString
public FTExpr compile(QueryContext qc, VarScope scp) throws QueryException
Expr
QueryContext.compile()
.compile
in class FTExpr
qc
- query contextscp
- variable scopeQueryException
- query exceptionpublic void plan(FElem plan)
ExprInfo
public FTNode item(QueryContext qc, InputInfo ii)
FTExpr
public FTIter iter(QueryContext qc)
FTExpr
Copyright © 2005–2015 BaseX Team. All rights reserved.