|
||||||||||
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
public abstract class FTArrayExpr
This is an abstract class for fulltext array expressions.
Field Summary | |
---|---|
FTOpt |
fto
Fulltext option. |
Constructor Summary | |
---|---|
FTArrayExpr()
|
Method Summary | |
---|---|
FTArrayExpr |
comp(XPContext ctx)
Optimizes the expression. |
FTArrayExpr |
indexEquivalent(XPContext ctx,
Step step,
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. |
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. |
boolean |
pos()
Checks whether the result of the expression is negative. |
java.lang.String |
toString()
|
boolean |
usesPos()
Checks whether this Expression (or its children) make use of the position parameter. |
boolean |
usesSize()
Checks whether this Expression (or its children) make use of the setsize parameter. |
Methods inherited from class org.basex.query.xpath.expr.Expr |
---|
eval, indexSizes, 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 FTOpt fto
Constructor Detail |
---|
public FTArrayExpr()
Method Detail |
---|
public FTArrayExpr comp(XPContext ctx) throws QueryException
comp
in class Expr
ctx
- expression context
QueryException
- evaluation exceptionpublic boolean indexOptions(MetaData meta)
meta
- meta data
public boolean more()
public boolean pos()
public FTNode next(XPContext ctx)
ctx
- current context
public final boolean usesPos()
Expr
usesPos
in class Expr
public final boolean usesSize()
Expr
usesSize
in class Expr
public FTArrayExpr indexEquivalent(XPContext ctx, Step step, boolean seq) throws QueryException
Expr
indexEquivalent
in class Expr
ctx
- rootstep
- location stepseq
- flag for sequential evaluation
QueryException
- evaluation exceptionpublic java.lang.String toString()
toString
in class ExprInfo
public void plan(Serializer ser) throws java.io.IOException
ExprInfo
plan
in class ExprInfo
ser
- serializer
java.io.IOException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |