|
|||||||||
| 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.DualExpr
org.basex.query.xpath.expr.Comparison
public abstract class Comparison
Abstract Compare Expression.
| Field Summary | |
|---|---|
Comp |
type
Expression Type. |
| Fields inherited from class org.basex.query.xpath.expr.DualExpr |
|---|
expr1, expr2 |
| Constructor Summary | |
|---|---|
Comparison()
|
|
| Method Summary | |
|---|---|
Bool |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
boolean |
simple()
Checks if this equality expression is a simple one (LocationPath + XPathValue and equals check), accessing the indexes. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xpath.expr.DualExpr |
|---|
usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
compile, indexEquivalent, indexSizes, returnedValue, sameAs |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Comp type
| Constructor Detail |
|---|
public Comparison()
| Method Detail |
|---|
public Bool eval(XPContext ctx)
throws EvalException
Expr
eval in class Exprctx - query context
EvalException - evaluation exceptionpublic final boolean simple()
public final java.lang.String toString()
toString in class Expr
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||