|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.soda.OrderByElement
public class OrderByElement
A single entry in an order-by clause consisting of an expression and order ascending or descending flag.
Constructor Summary | |
---|---|
OrderByElement()
Ctor. |
|
OrderByElement(Expression expression,
boolean descending)
Ctor. |
Method Summary | |
---|---|
Expression |
getExpression()
Returns the order-by value expression. |
boolean |
isDescending()
Returns true for descending sorts for this column, false for ascending sort. |
void |
setDescending(boolean descending)
Set to true for descending sorts for this column, false for ascending sort. |
void |
setExpression(Expression expression)
Sets the order-by value expression. |
void |
toEPL(java.io.StringWriter writer)
Renders the clause in textual representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderByElement()
public OrderByElement(Expression expression, boolean descending)
expression
- is the expression to order bydescending
- true for descending sort, false for ascending sortMethod Detail |
---|
public Expression getExpression()
public void setExpression(Expression expression)
expression
- provides order-by valuespublic boolean isDescending()
public void setDescending(boolean descending)
descending
- true for descending sortpublic void toEPL(java.io.StringWriter writer)
writer
- to output to
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |