|
|||||||||
| 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.internal.InternalExpr
org.basex.query.xpath.internal.AllOf
public final class AllOf
This Expression assembles a number of similar comparisons which all has to evaluate true.
| Constructor Summary | |
|---|---|
AllOf(LocPath p,
Item[] v,
Comp c)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xpath.internal.InternalExpr |
|---|
compile, usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
returnedValue, sameAs |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AllOf(LocPath p,
Item[] v,
Comp c)
p - location pathv - second expression to compare with firstc - comparator| Method Detail |
|---|
public Bool eval(XPContext ctx)
throws EvalException
Expr
eval in class Exprctx - query context
EvalException - evaluation exception
public Expr indexEquivalent(XPContext ctx,
Step curr)
Expr
indexEquivalent in class Exprctx - rootcurr - the LocationStep this Expression is a predicate of
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
public java.lang.String toString()
toString in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||