|
||||||||||
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.internal.FTIndex
public final class FTIndex
This expression retrieves the ids of indexed fulltext terms.
Field Summary |
---|
Fields inherited from class org.basex.query.xpath.expr.FTArrayExpr |
---|
fto |
Constructor Summary | |
---|---|
FTIndex(byte[] tok,
FTOpt o)
Constructor. |
Method Summary | |
---|---|
Bln |
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. |
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. |
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 |
---|
comp, indexOptions, 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 FTIndex(byte[] tok, FTOpt o)
tok
- index tokeno
- FTOption for index tokenMethod Detail |
---|
public FTArrayExpr indexEquivalent(XPContext ctx, Step curr, boolean seq)
Expr
indexEquivalent
in class FTArrayExpr
ctx
- rootcurr
- location stepseq
- flag for sequential evaluation
public Bln eval(XPContext ctx)
Expr
eval
in class Expr
ctx
- query context
public boolean more()
FTArrayExpr
more
in class FTArrayExpr
public FTNode next(XPContext ctx)
FTArrayExpr
next
in class FTArrayExpr
ctx
- current context
public int indexSizes(XPContext ctx, Step curr, int min)
Expr
Integer.MAX_VALUE
is returned, no index access is possible.
indexSizes
in class Expr
ctx
- rootcurr
- the current location stepmin
- current minimum index hits
public void plan(Serializer ser) throws java.io.IOException
ExprInfo
plan
in class FTArrayExpr
ser
- 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 |