Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
filter(QueryContext qc,
FTMatch m,
FTLexer ft)
Evaluates the filter expression.
|
boolean |
indexAccessible(IndexInfo ii)
Checks if an expression can be rewritten to an index access.
|
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.
|
String |
toString() |
accept, checkUp, compile, copy, count, exprSize, has, inline, optimize, plan, 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, inlineAll, isEmpty, isFunction, isVacuous, isValue, iterable, markTailCalls, optimizeEbv, sameAs, typeCheck, uses, visitAll
addPlan, addPlan, description, planAttr, planElem, toErrorString
public final FTNode item(QueryContext qc, InputInfo ii) throws QueryException
FTExpr
item
in class FTExpr
qc
- query contextii
- input infoQueryException
- query exceptionpublic final FTIter iter(QueryContext qc) throws QueryException
FTExpr
iter
in class FTExpr
qc
- query contextQueryException
- query exceptionprotected abstract boolean filter(QueryContext qc, FTMatch m, FTLexer ft) throws QueryException
qc
- query contextm
- full-text matchft
- tokenizerQueryException
- query exceptionpublic final boolean indexAccessible(IndexInfo ii) throws QueryException
Expr
IndexInfo.expr
.
This method will be called by Path.index(org.basex.query.QueryContext, org.basex.query.value.Value)
.indexAccessible
in class Expr
ii
- index infoQueryException
- query exceptionCopyright © 2005–2015 BaseX Team. All rights reserved.