|
||||||||||
| 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.expr.Expr
org.basex.query.expr.Arr
org.basex.query.expr.CmpV
public final class CmpV
Value comparison.
| Nested Class Summary | |
|---|---|
static class |
CmpV.Comp
Comparators. |
| Field Summary | |
|---|---|
CmpV.Comp |
cmp
Comparator. |
| Fields inherited from class org.basex.query.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
CmpV(Expr e1,
Expr e2,
CmpV.Comp c)
Constructor. |
|
| Method Summary | |
|---|---|
Bln |
atomic(QueryContext ctx)
Evaluates the expression and returns the resulting item or a null reference. |
java.lang.String |
color()
Returns a string description of the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
java.lang.String |
info()
Returns a string description of the expression. |
void |
plan(Serializer ser)
Recursively sends the abstract syntax of this expression to the specified serializer. |
Return |
returned(QueryContext ctx)
Indicates the return type of an expression. |
java.lang.String |
toString()
|
static boolean |
valCheck(Item a,
Item b)
Checks if the specified items can be compared. |
| Methods inherited from class org.basex.query.expr.Arr |
|---|
duplicates, indexEquivalent, removable, remove, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, e, ebv, i, indexAccessible, iter, sameAs, size, test |
| Methods inherited from class org.basex.query.ExprInfo |
|---|
name |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public CmpV.Comp cmp
| Constructor Detail |
|---|
public CmpV(Expr e1,
Expr e2,
CmpV.Comp c)
e1 - first expressione2 - second expressionc - comparator| Method Detail |
|---|
public Expr comp(QueryContext ctx)
throws QueryException
Expr
comp in class Arrctx - query context
QueryException - evaluation exception
public Bln atomic(QueryContext ctx)
throws QueryException
ExprExpr.iter(org.basex.query.QueryContext) must be implemented.
atomic in class Exprctx - query context
QueryException - query exception
public static boolean valCheck(Item a,
Item b)
a - first itemb - second item
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public void plan(Serializer ser)
throws java.io.IOException
ExprInfo
plan in class Arrser - serializer
java.io.IOException - exceptionpublic java.lang.String color()
ExprInfoExprInfo.toString() method, the current expressions aren't included
in the output.
color in class ExprInfopublic java.lang.String info()
ExprInfoExprInfo.toString() method, the current expressions aren't included
in the output.
info in class ExprInfopublic java.lang.String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||