|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.expr.Expr
org.basex.query.xquery.expr.Ord
public final class Ord
Single order specifier.
| Field Summary |
|---|
| Fields inherited from class org.basex.query.xquery.expr.Expr |
|---|
type |
| Constructor Summary | |
|---|---|
Ord()
Empty constructor for stable sorting. |
|
Ord(Expr e,
boolean d,
boolean l,
Item c)
Constructor. |
|
| Method Summary | |
|---|---|
Ord |
comp(XQContext ctx)
Optimizes and compiles the expression tree. |
Item |
eval(XQContext ctx)
Evaluates the expression and returns the resulting item. |
void |
finish()
Resets the built sequence. |
java.lang.String |
info()
Returns a string description of the expression. |
Item |
item(int i)
Returns the specified item. |
java.lang.String |
toString()
|
| Methods inherited from class org.basex.query.xquery.expr.Expr |
|---|
cls, d, e, i, n, node, s, size, str, u |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Ord()
public Ord(Expr e,
boolean d,
boolean l,
Item c)
e - expressiond - descending orderl - least empty orderc - collation| Method Detail |
|---|
public Ord comp(XQContext ctx)
throws XQException
Expr
comp in class Exprctx - query context
XQException - evaluation exception
public Item eval(XQContext ctx)
throws XQException
Expr
eval in class Exprctx - query context
XQException - evaluation exceptionpublic void finish()
public java.lang.String info()
ExprExpr.toString() method, the current expressions aren't included
in the output.
info in class Exprpublic Item item(int i)
i - item index
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 | ||||||||