|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.ExprInfo
org.basex.query.expr.Expr
org.basex.query.ft.FTExpr
org.basex.query.ft.FTWords
public final class FTWords
FTWords expression.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
---|
Expr.Use |
Field Summary |
---|
Fields inherited from class org.basex.query.ft.FTExpr |
---|
expr |
Constructor Summary | |
---|---|
FTWords(Data d,
byte[] t,
boolean f)
Index constructor. |
|
FTWords(Expr e,
FTOpt.FTMode m,
Expr[] o)
Sequential constructor. |
Method Summary | |
---|---|
FTItem |
atomic(QueryContext ctx)
This method is called by the sequential full-text evaluation. |
FTExpr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
boolean |
indexAccessible(IndexContext ic)
Checks if an index can be used for query evaluation. |
FTExpr |
indexEquivalent(IndexContext ic)
Returns an equivalent expression which accesses an index structure. |
FTIter |
iter(QueryContext ctx)
This method is called by the index-based full-text evaluation. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
boolean |
removable(Var v,
QueryContext ctx)
Checks if the specified variable is removable. |
FTExpr |
remove(Var v)
Removes the specified variable in a sub expression. |
String |
toString()
|
boolean |
usesExclude()
Checks if sub expressions of a mild not operator do not violate the grammar. |
Methods inherited from class org.basex.query.ft.FTExpr |
---|
color, returned, uses |
Methods inherited from class org.basex.query.expr.Expr |
---|
addText, checkCtx, checkDbl, checkItr, duplicates, e, ebv, i, sameAs, size, test, v |
Methods inherited from class org.basex.query.ExprInfo |
---|
info, name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FTWords(Expr e, FTOpt.FTMode m, Expr[] o)
e
- expressionm
- search modeo
- occurrencespublic FTWords(Data d, byte[] t, boolean f)
d
- data referencet
- textf
- fast evaluationMethod Detail |
---|
public FTExpr comp(QueryContext ctx) throws QueryException
Expr
comp
in class FTExpr
ctx
- query context
QueryException
- query exceptionpublic FTItem atomic(QueryContext ctx) throws QueryException
FTExpr
atomic
in class FTExpr
ctx
- query context
QueryException
- query exceptionpublic FTIter iter(QueryContext ctx)
FTExpr
iter
in class FTExpr
ctx
- query context
public boolean indexAccessible(IndexContext ic)
Expr
indexAccessible
in class Expr
ic
- index context
public FTExpr indexEquivalent(IndexContext ic)
Expr
Expr.indexAccessible(org.basex.query.IndexContext)
is implemented for an
expression.
indexEquivalent
in class FTExpr
ic
- index context
public boolean usesExclude()
FTExpr
public boolean removable(Var v, QueryContext ctx)
Expr
removable
in class FTExpr
v
- variable to be removedctx
- query context
public FTExpr remove(Var v)
Expr
remove
in class FTExpr
v
- variable to be removed
public void plan(Serializer ser) throws IOException
ExprInfo
plan
in class FTExpr
ser
- serializer
IOException
- I/O exceptionpublic String toString()
toString
in class ExprInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |