public class GroupByNode extends MajorNode
INTERNAL

Purpose: Represent an GROUP BY

Responsibilities:

  • Generate the correct expression for an GROUP BY
  • Constructor Details

    • GroupByNode

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

    • validate

      public void validate(ParseTreeContext context, SelectNode selectNode)
      INTERNAL Validate the current node.
    • addGroupingToQuery

      public void addGroupingToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
      INTERNAL Add the grouping expressions to the passed query
    • isValidHavingExpr

      public boolean isValidHavingExpr(Node expr)
      INTERNAL Returns true if the sp
    • getGroupByItems

      public List<Node> getGroupByItems()
      INTERNAL Return the GROUP BY statements
    • setGroupByItems

      public void setGroupByItems(List<Node> newItems)
      INTERNAL Set the GROUP BY statements
    • getAsString

      public String getAsString()
      INTERNAL Get the string representation of this node.
      Overrides:
      getAsString in class Node