|
||||||||||
| 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.xpath.expr.Expr
org.basex.query.xpath.expr.FTArrayExpr
org.basex.query.xpath.expr.FTWords
public final class FTWords
Fulltext primary expression and FTTimes.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xpath.expr.FTArrayExpr |
|---|
fto |
| Constructor Summary | |
|---|---|
FTWords(byte[] t,
FTOpt.FTMode m,
long[] o)
Constructor. |
|
| Method Summary | |
|---|---|
FTArrayExpr |
comp(XPContext ctx)
Optimizes the expression. |
Item |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
FTArrayExpr |
indexEquivalent(XPContext ctx,
Step curr,
boolean seq)
Returns an equivalent expression which accesses an index structure. |
boolean |
indexOptions(MetaData meta)
Verifies if the fulltext query options comply with the index defaults. |
int |
indexSizes(XPContext ctx,
Step curr,
int min)
Returns the number of results if this query is evaluated by an index. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xpath.expr.FTArrayExpr |
|---|
more, next, pos, usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
returnedValue, sameAs |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
color, info, name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FTWords(byte[] t,
FTOpt.FTMode m,
long[] o)
t - tokenm - search modeo - occurrences| Method Detail |
|---|
public Item eval(XPContext ctx)
Expr
eval in class Exprctx - query context
public FTArrayExpr comp(XPContext ctx)
FTArrayExpr
comp in class FTArrayExprctx - expression context
public boolean indexOptions(MetaData meta)
FTArrayExpr
indexOptions in class FTArrayExprmeta - meta data
public FTArrayExpr indexEquivalent(XPContext ctx,
Step curr,
boolean seq)
Expr
indexEquivalent in class FTArrayExprctx - rootcurr - location stepseq - flag for sequential evaluation
public int indexSizes(XPContext ctx,
Step curr,
int min)
ExprInteger.MAX_VALUE is returned, no index access is possible.
indexSizes in class Exprctx - rootcurr - the current location stepmin - current minimum index hits
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class FTArrayExprser - serializer
java.io.IOException - exceptionpublic java.lang.String toString()
toString in class FTArrayExpr
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||