|
||||||||||
| 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.Arr
org.basex.query.xpath.expr.Cmp
public abstract class Cmp
Abstract Compare Expression.
| Field Summary | |
|---|---|
Comp |
type
Expression Type. |
| Fields inherited from class org.basex.query.xpath.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
Cmp(Expr e1,
Expr e2)
Constructor. |
|
| Method Summary | |
|---|---|
Expr |
comp(XPContext ctx)
Optimizes the expression. |
Bln |
eval(XPContext ctx)
Evaluates the expression with the specified context set. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
boolean |
standard()
Checks if this expression has a location path and Item as arguments. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xpath.expr.Arr |
|---|
sameAs, usesPos, usesSize |
| Methods inherited from class org.basex.query.xpath.expr.Expr |
|---|
indexEquivalent, indexSizes, returnedValue |
| 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 Comp type
| Constructor Detail |
|---|
public Cmp(Expr e1,
Expr e2)
e1 - first expressione2 - second expression to compare with first| Method Detail |
|---|
public Expr comp(XPContext ctx)
throws QueryException
Expr
comp in class Arrctx - expression context
QueryException - evaluation exception
public final Bln eval(XPContext ctx)
throws QueryException
Expr
eval in class Exprctx - query context
QueryException - evaluation exceptionpublic final boolean standard()
public final java.lang.String toString()
toString in class ExprInfo
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class Arrser - serializer
java.io.IOException - exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||