|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.websphere.query.base.OrderBy
public class OrderBy
The OrderBy class represents the order by part of a select query in the query framework.
This class contains a list of order by expressions to describe a typical order by clause in a query.
Constructor Summary | |
---|---|
OrderBy()
Creates a new OrderBy instance, default constructor. |
|
OrderBy(IOrderByExpression orderByExpression)
Creates a new OrderBy instance with the given order by expression. |
|
OrderBy(IOrderByExpression[] orderByExpressions)
Creates a new OrderBy instance with the given array of order by expressions. |
Method Summary | |
---|---|
void |
addOrderByExpression(IOrderByExpression orderByExpression)
Adds an order by expression to the order by expression vector. |
java.lang.String |
buildString(ISelectQueryCallback builder)
Builds a query string for the order by. |
void |
buildString(ISelectQueryCallback builder,
java.lang.StringBuffer sb)
|
boolean |
equals(java.lang.Object o)
Tests for equality with the given object. |
IOrderByExpression[] |
getOrderByExpressions()
Returns the order by expressions as an array. |
int |
hashCode()
Computes a hash code for the order by. |
void |
setOrderByExpression(IOrderByExpression newOrderByExpression)
Sets the order by expression of the order by. |
void |
setOrderByExpressions(IOrderByExpression[] newOrderByExpressions)
Sets the order by expressions of the order by. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderBy()
public OrderBy(IOrderByExpression[] orderByExpressions)
public OrderBy(IOrderByExpression orderByExpression)
Method Detail |
---|
public void addOrderByExpression(IOrderByExpression orderByExpression)
public java.lang.String buildString(ISelectQueryCallback builder) throws QueryException
buildString
in interface IStringBuilder
QueryException
public void buildString(ISelectQueryCallback builder, java.lang.StringBuffer sb) throws QueryException
buildString
in interface IStringBuilder
QueryException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public IOrderByExpression[] getOrderByExpressions()
getOrderByExpressions
in interface IOrderBy
public int hashCode()
hashCode
in class java.lang.Object
public void setOrderByExpression(IOrderByExpression newOrderByExpression)
public void setOrderByExpressions(IOrderByExpression[] newOrderByExpressions)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |