|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.query.xquery.expr.Ord
public final class Ord
Single order specifier.
Constructor Summary | |
---|---|
Ord()
Empty constructor for stable sorting. |
|
Ord(Expr e,
boolean d,
boolean l)
Constructor. |
Method Summary | |
---|---|
void |
add(XQContext ctx)
Adds an item to be sorted. |
void |
comp(XQContext ctx)
Compiles the expression to be sorted. |
void |
finish()
Resets the built sequence. |
Item |
item(int i)
Returns the specified item. |
void |
plan(Serializer ser)
Serializes the abstract syntax tree. |
java.lang.String |
toString()
|
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)
e
- expressiond
- descending orderl
- least empty orderMethod Detail |
---|
public void comp(XQContext ctx) throws XQException
ctx
- query context
XQException
- query exceptionpublic void add(XQContext ctx) throws XQException
ctx
- query context
XQException
- query exceptionpublic void finish()
public Item item(int i)
i
- item index
public java.lang.String toString()
toString
in class java.lang.Object
public void plan(Serializer ser) throws java.io.IOException
ser
- serializer
java.io.IOException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |