Class OrderableItem
java.lang.Object
org.apache.openjpa.persistence.query.OrderableItem
- All Implemented Interfaces:
Serializable,OrderByItem,Visitable
Denotes an item of ORDER BY clause.
- Author:
- Pinaki Poddar
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionasExpression(org.apache.openjpa.persistence.query.AliasContext ctx) Get a JPQL fragment as used in WHERE clause.asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in FROM clause.asProjection(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in SELECT projection.getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the hint to be used while creating alias.org.apache.openjpa.persistence.query.ExpressionImplMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openjpa.persistence.query.Visitable
asJoinable, asProjection, getAliasHint
-
Field Details
-
SPACE
- See Also:
-
OPEN_BRACE
- See Also:
-
CLOSE_BRACE
- See Also:
-
COMMA
- See Also:
-
EMPTY
- See Also:
-
-
Method Details
-
getExpression
public org.apache.openjpa.persistence.query.ExpressionImpl getExpression() -
asExpression
Description copied from interface:VisitableGet a JPQL fragment as used in WHERE clause.- Specified by:
asExpressionin interfaceVisitable
-
asProjection
Description copied from interface:VisitableGets the string representation in SELECT projection.- Specified by:
asProjectionin interfaceVisitable
-
getAliasHint
Description copied from interface:VisitableGets the hint to be used while creating alias.- Specified by:
getAliasHintin interfaceVisitable
-
asJoinable
Description copied from interface:VisitableGets the string representation in FROM clause.- Specified by:
asJoinablein interfaceVisitable
-