|
||||||||||
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.FTAnd
public final class FTAnd
Logical FTAnd expression.
Field Summary |
---|
Fields inherited from class org.basex.query.xpath.expr.FTArrayExpr |
---|
fto |
Constructor Summary | |
---|---|
FTAnd(FTArrayExpr[] e)
Constructor. |
Method Summary | |
---|---|
void |
add(FTArrayExpr ex)
Add Expr to list. |
FTArrayExpr |
comp(XPContext ctx)
Optimizes the expression. |
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. |
Methods inherited from class org.basex.query.xpath.expr.FTArrayExpr |
---|
indexOptions, more, next, plan, pos, 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 |
Constructor Detail |
---|
public FTAnd(FTArrayExpr[] e)
e
- expressionsMethod Detail |
---|
public Bln eval(XPContext ctx) throws QueryException
Expr
eval
in class Expr
ctx
- query context
QueryException
- evaluation exceptionpublic FTArrayExpr comp(XPContext ctx) throws QueryException
FTArrayExpr
comp
in class FTArrayExpr
ctx
- expression context
QueryException
- evaluation exceptionpublic FTArrayExpr indexEquivalent(XPContext ctx, Step curr, boolean seq) throws QueryException
Expr
indexEquivalent
in class FTArrayExpr
ctx
- rootcurr
- location stepseq
- flag for sequential evaluation
QueryException
- evaluation exceptionpublic void add(FTArrayExpr ex)
ex
- new Exprpublic 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |