|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xpath.expr.Expr
org.basex.query.xpath.expr.ArrayExpr
org.basex.query.xpath.expr.And
public final class And
Logical AND Expression.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xpath.expr.ArrayExpr |
|---|
exprs |
| Constructor Summary | |
|---|---|
And(Expr[] e)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
compile(XPContext ctx)
Tries to optimize the Expression. |
Bool |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
Expr |
indexEquivalent(XPContext ctx,
Step curr)
For predicate optimization. |
int |
indexSizes(XPContext ctx,
Step curr,
int min)
For predicate optimization. |
| Methods inherited from class org.basex.query.xpath.expr.ArrayExpr |
|---|
sameAs, toString, usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
returnedValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public And(Expr[] e)
e - expressions| Method Detail |
|---|
public Expr compile(XPContext ctx)
throws EvalException
Expr
compile in class Exprctx - expression context
EvalException - evaluation exception
public Bool eval(XPContext ctx)
throws EvalException
Expr
eval in class Exprctx - query context
EvalException - evaluation exception
public Expr indexEquivalent(XPContext ctx,
Step curr)
throws EvalException
Expr
indexEquivalent in class Exprctx - rootcurr - the LocationStep this Expression is a predicate of
EvalException - evaluation exception
public int indexSizes(XPContext ctx,
Step curr,
int min)
Expr
indexSizes in class Exprctx - rootcurr - the LocationStep this Expression is a predicate ofmin - current minimum size
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||