|
||||||||||
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.FTWeight
public final class FTWeight
FTOptions 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 | |
---|---|
FTWeight(FTExpr e,
Expr w)
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 FTWeight(FTExpr e, Expr w)
e
- expressionw
- weightMethod 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 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 |