|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.triactive.jdo.store.sql.expr.OrderingSpec
public class OrderingSpec
A component of an SQL ORDER BY clause.
This is just a data structure pairing an SqlExpression and a boolean.
A list of these is used by QueryStatement to construct an SQL ORDER
BY clause.
QueryStatement.setOrdering(java.util.List)| Field Summary | |
|---|---|
SqlExpression |
expression
The expression value by which to order. |
boolean |
isDescending
Descending order if true, ascending if false. |
| Constructor Summary | |
|---|---|
OrderingSpec(SqlExpression expression,
boolean isDescending)
Constructs an ordering spec. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final SqlExpression expression
public final boolean isDescending
| Constructor Detail |
|---|
public OrderingSpec(SqlExpression expression,
boolean isDescending)
expression - the expression value by which to orderisDescending - descending order if true, ascending if false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||