public final class FTAnd extends FTExpr
Constructor and Description |
---|
FTAnd(InputInfo info,
FTExpr[] exprs)
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.
|
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, 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 FTExpr compile(QueryContext qc, VarScope scp) throws QueryException
Expr
QueryContext.compile()
.compile
in class FTExpr
qc
- query contextscp
- variable scopeQueryException
- query exceptionpublic FTNode item(QueryContext qc, InputInfo ii) throws QueryException
FTExpr
item
in class FTExpr
qc
- query contextii
- input infoQueryException
- query exceptionpublic FTIter iter(QueryContext qc) throws QueryException
FTExpr
iter
in class FTExpr
qc
- query contextQueryException
- query exceptionpublic 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 exceptionpublic FTExpr copy(QueryContext qc, VarScope scp, IntObjMap<Var> vs)
Expr
Copyright © 2005–2015 BaseX Team. All rights reserved.