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
-
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.ExpressionImpl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:Visitable
Get a JPQL fragment as used in WHERE clause.- Specified by:
asExpression
in interfaceVisitable
-
asProjection
Description copied from interface:Visitable
Gets the string representation in SELECT projection.- Specified by:
asProjection
in interfaceVisitable
-
getAliasHint
Description copied from interface:Visitable
Gets the hint to be used while creating alias.- Specified by:
getAliasHint
in interfaceVisitable
-
asJoinable
Description copied from interface:Visitable
Gets the string representation in FROM clause.- Specified by:
asJoinable
in interfaceVisitable
-