|
||||||||||
| 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 - occurrences
public FTWords(Data d,
byte[] t,
boolean f)
d - data referencet - textf - fast evaluation| Method Detail |
|---|
public FTExpr comp(QueryContext ctx)
throws QueryException
Expr
comp in class FTExprctx - query context
QueryException - query exception
public FTItem atomic(QueryContext ctx)
throws QueryException
FTExpr
atomic in class FTExprctx - query context
QueryException - query exceptionpublic FTIter iter(QueryContext ctx)
FTExpr
iter in class FTExprctx - query context
public boolean indexAccessible(IndexContext ic)
Expr
indexAccessible in class Expric - index context
public FTExpr indexEquivalent(IndexContext ic)
ExprExpr.indexAccessible(org.basex.query.IndexContext) is implemented for an
expression.
indexEquivalent in class FTExpric - index context
public boolean usesExclude()
FTExpr
public boolean removable(Var v,
QueryContext ctx)
Expr
removable in class FTExprv - variable to be removedctx - query context
public FTExpr remove(Var v)
Expr
remove in class FTExprv - variable to be removed
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class FTExprser - 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 | |||||||||