|
||||||||||
| 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.FTSelect
public final class FTSelect
Fulltext position filter expression and FTTimes.
| Field Summary | |
|---|---|
FTPosFilter |
ftpos
FTPositionFilter. |
| Fields inherited from class org.basex.query.xpath.expr.FTArrayExpr |
|---|
fto |
| Constructor Summary | |
|---|---|
FTSelect(FTArrayExpr e,
FTPosFilter ftps)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
checkSumUp(FTPosFilter ftpos1)
Checks if FTContains Expr could be summed up. |
FTArrayExpr |
comp(XPContext ctx)
Optimizes the expression. |
Item |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
FTArrayExpr |
getExpr()
Getter for expr. |
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. |
boolean |
more()
Checks for more results. |
FTNode |
next(XPContext ctx)
Returns the next ftquery result. |
boolean |
pos()
Checks whether the result of the expression is negative. |
void |
setExpr(FTArrayExpr e)
Setter expr. |
| Methods inherited from class org.basex.query.xpath.expr.FTArrayExpr |
|---|
plan, toString, 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 |
| Field Detail |
|---|
public FTPosFilter ftpos
| Constructor Detail |
|---|
public FTSelect(FTArrayExpr e,
FTPosFilter ftps)
e - expressionsftps - FTPositionFilter| Method Detail |
|---|
public FTArrayExpr comp(XPContext ctx)
throws QueryException
FTArrayExpr
comp in class FTArrayExprctx - expression context
QueryException - evaluation exceptionpublic boolean pos()
FTArrayExpr
pos in class FTArrayExprpublic FTNode next(XPContext ctx)
FTArrayExpr
next in class FTArrayExprctx - current context
public FTArrayExpr getExpr()
public void setExpr(FTArrayExpr e)
e - FTArrayExprpublic boolean more()
FTArrayExpr
more in class FTArrayExpr
public Item eval(XPContext ctx)
throws QueryException
Expr
eval in class Exprctx - query context
QueryException - evaluation exceptionpublic boolean indexOptions(MetaData meta)
FTArrayExpr
indexOptions in class FTArrayExprmeta - meta data
public FTArrayExpr indexEquivalent(XPContext ctx,
Step curr,
boolean seq)
throws QueryException
Expr
indexEquivalent in class FTArrayExprctx - rootcurr - location stepseq - flag for sequential evaluation
QueryException - evaluation exceptionpublic boolean checkSumUp(FTPosFilter ftpos1)
ftpos1 - FTPositionFilter second expr
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||