|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.expr.FTWords
public final class FTWords
FTWords expression.
| Field Summary | |
|---|---|
static int |
ALL
All words. |
static int |
ANY
Any words. |
static double |
LOG
Logarithmic base for calculating the score value. |
static int |
PHRASE
Phrase search. |
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
FTWords(Expr e,
int m,
Expr[] o)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
comp(XQContext ctx)
Optimizes and compiles the expression tree. |
Item |
eval(XQContext ctx)
Evaluates the expression and returns the resulting item. |
java.lang.String |
info()
Returns a string description of the expression. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, i, n, node, s, size, str, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ALL
public static final int ANY
public static final double LOG
public static final int PHRASE
| Constructor Detail |
|---|
public FTWords(Expr e,
int m,
Expr[] o)
e - expressionm - search modeo - occurrences| Method Detail |
|---|
public Expr comp(XQContext ctx)
throws XQException
Expr
comp in class Exprctx - query context
XQException - evaluation exception
public Item eval(XQContext ctx)
throws XQException
Expr
eval in class Exprctx - query context
XQException - evaluation exceptionpublic java.lang.String info()
ExprExpr.toString() method, the current expressions aren't included
in the output.
info in class Exprpublic java.lang.String toString()
toString in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||