|
||||||||||
| 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.CmpG
public final class CmpG
General comparison.
| Nested Class Summary | |
|---|---|
static class |
CmpG.Comp
Comparators. |
| Nested classes/interfaces inherited from class org.basex.query.expr.Expr |
|---|
Expr.Use |
| Field Summary | |
|---|---|
CmpG.Comp |
cmp
Comparator. |
| Fields inherited from class org.basex.query.expr.Arr |
|---|
expr |
| Constructor Summary | |
|---|---|
CmpG(Expr e1,
Expr e2,
CmpG.Comp c)
Constructor. |
|
| Method Summary | |
|---|---|
Bln |
atomic(QueryContext ctx)
Evaluates the expression and returns the resulting item or a null reference. |
String |
color()
Returns a color string for the expression. |
Expr |
comp(QueryContext ctx)
Optimizes and compiles the expression. |
boolean |
indexAccessible(IndexContext ic)
Checks if an index can be used for query evaluation. |
Expr |
indexEquivalent(IndexContext ic)
Returns an equivalent expression which accesses an index structure. |
static Step |
indexStep(Expr expr)
Returns the indexable index step or null. |
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. |
String |
toString()
|
| Methods inherited from class org.basex.query.expr.Arr |
|---|
duplicates, removable, remove, uses |
| Methods inherited from class org.basex.query.expr.Expr |
|---|
addText, checkCtx, checkDbl, checkItr, e, ebv, i, iter, sameAs, size, test, v |
| 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 CmpG.Comp cmp
| Constructor Detail |
|---|
public CmpG(Expr e1,
Expr e2,
CmpG.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 - query exception
public Bln atomic(QueryContext ctx)
throws QueryException
Exprnull reference.
If this method is not overwritten, Expr.iter(org.basex.query.QueryContext) must be implemented.
atomic in class Exprctx - query context
QueryException - query exception
public boolean indexAccessible(IndexContext ic)
throws QueryException
Expr
indexAccessible in class Expric - index context
QueryException - query exceptionpublic Expr indexEquivalent(IndexContext ic)
ExprExpr.indexAccessible(org.basex.query.IndexContext) is implemented for an
expression.
indexEquivalent in class Arric - index context
public static Step indexStep(Expr expr)
expr - expression arguments
public Return returned(QueryContext ctx)
Expr
returned in class Exprctx - query context
public String info()
ExprInfoExprInfo.toString() method, arguments are not included
in the output.
info in class ExprInfopublic String color()
ExprInfo
color in class ExprInfo
public void plan(Serializer ser)
throws IOException
ExprInfo
plan in class Arrser - serializer
IOException - I/O exceptionpublic String toString()
toString in class ExprInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||