|
||||||||||
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.FTDistance
public final class FTDistance
FTDistance 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 | |
---|---|
FTDistance(FTExpr e,
Expr[] d,
Tokenizer.FTUnit u)
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. |
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()
|
Methods inherited from class org.basex.query.ft.FTExpr |
---|
color, indexEquivalent, 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 FTDistance(FTExpr e, Expr[] d, Tokenizer.FTUnit u)
e
- expressiond
- distancesu
- unitMethod Detail |
---|
public FTExpr comp(QueryContext ctx) throws QueryException
Expr
comp
in class FTExpr
ctx
- query context
QueryException
- query exceptionpublic 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
ser
- serializer
IOException
- I/O exceptionpublic String toString()
public FTItem atomic(QueryContext ctx) throws QueryException
FTExpr
atomic
in class FTExpr
ctx
- query context
QueryException
- query exceptionpublic FTIter iter(QueryContext ctx) throws QueryException
FTExpr
iter
in class FTExpr
ctx
- query context
QueryException
- query exceptionpublic boolean indexAccessible(IndexContext ic) throws QueryException
Expr
indexAccessible
in class Expr
ic
- index context
QueryException
- query exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |