Class OrderableItem

java.lang.Object
org.apache.openjpa.persistence.query.OrderableItem
All Implemented Interfaces:
Serializable, OrderByItem, Visitable

public class OrderableItem extends Object implements OrderByItem, Visitable
Denotes an item of ORDER BY clause.
Author:
Pinaki Poddar
See Also:
  • Field Details

  • Method Details

    • getExpression

      public org.apache.openjpa.persistence.query.ExpressionImpl getExpression()
    • asExpression

      public String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
      Description copied from interface: Visitable
      Get a JPQL fragment as used in WHERE clause.
      Specified by:
      asExpression in interface Visitable
    • asProjection

      public String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
      Description copied from interface: Visitable
      Gets the string representation in SELECT projection.
      Specified by:
      asProjection in interface Visitable
    • getAliasHint

      public String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
      Description copied from interface: Visitable
      Gets the hint to be used while creating alias.
      Specified by:
      getAliasHint in interface Visitable
    • asJoinable

      public String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
      Description copied from interface: Visitable
      Gets the string representation in FROM clause.
      Specified by:
      asJoinable in interface Visitable