|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.persistence.criteria.OrderImpl
class OrderImpl
Ordering clause of a criteria query.
Constructor Summary | |
---|---|
OrderImpl(Expression<?> e)
|
|
OrderImpl(Expression<?> e,
boolean asc)
|
Method Summary | |
---|---|
void |
acceptVisit(CriteriaExpressionVisitor visitor)
Accept visit from the given visitor. |
StringBuilder |
asProjection(AliasContext q)
Get a string representation of this node as a projection term in the context of the given query. |
StringBuilder |
asValue(AliasContext q)
Get a string representation of this node as a value in the context of the given query. |
StringBuilder |
asVariable(AliasContext q)
Get a string representation of this node as a variable in the context of the given query. |
ExpressionImpl<?> |
getExpression()
|
boolean |
isAscending()
|
Order |
reverse()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrderImpl(Expression<?> e, boolean asc)
public OrderImpl(Expression<?> e)
Method Detail |
---|
public ExpressionImpl<?> getExpression()
getExpression
in interface Order
public boolean isAscending()
isAscending
in interface Order
public Order reverse()
reverse
in interface Order
public void acceptVisit(CriteriaExpressionVisitor visitor)
CriteriaExpression
acceptVisit
in interface CriteriaExpression
visitor
- a processor to walk the nodes of a tree.public StringBuilder asValue(AliasContext q)
CriteriaExpression
asValue
in interface CriteriaExpression
public StringBuilder asProjection(AliasContext q)
CriteriaExpression
asProjection
in interface CriteriaExpression
public StringBuilder asVariable(AliasContext q)
CriteriaExpression
asVariable
in interface CriteriaExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |