public class OrderByNode extends MajorNode
INTERNAL

Purpose: Represent an ORDER BY

Responsibilities:

  • Generate the correct expression for an ORDER BY
Since:
TopLink 5.0
  • Constructor Details

    • OrderByNode

      public OrderByNode()
      Return a new OrderByNode.
  • Method Details

    • addOrderingToQuery

      public void addOrderingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
      INTERNAL Add the ordering expressions to the passed query
    • validate

      public void validate(ParseTreeContext context, SelectNode selectNode)
      INTERNAL Validate node.
    • getOrderByItems

      public List<Node> getOrderByItems()
      INTERNAL Return the order by statements
    • setOrderByItems

      public void setOrderByItems(List<Node> newItems)
      INTERNAL Set the order by statements