org.edg.info.sqlutil.parsql
Class GroupBy

java.lang.Object
  extended byorg.edg.info.sqlutil.parsql.GroupBy
All Implemented Interfaces:
java.io.Serializable

public class GroupBy
extends java.lang.Object
implements java.io.Serializable

GroupBy: an SQL GROUP BY...HAVING clause

See Also:
Serialized Form

Constructor Summary
GroupBy(java.util.Vector groupBy)
          Creates a GROUP BY given a set of Expressions
 
Method Summary
 java.util.Vector getGroupBy()
          Gets the GROUP BY expressions
 ExpSelConst getHaving()
          Gets the HAVING clause.
 void setHaving(ExpSelConst having)
          Initializes the HAVING part of the GROUP BY.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupBy

public GroupBy(java.util.Vector groupBy)
Creates a GROUP BY given a set of Expressions

Parameters:
groupBy - A vector of SQL Expressions (ExpSelConst objects).
Method Detail

setHaving

public void setHaving(ExpSelConst having)
Initializes the HAVING part of the GROUP BY.

Parameters:
having - An SQL Expression (the HAVING clause).

getGroupBy

public java.util.Vector getGroupBy()
Gets the GROUP BY expressions

Returns:
A vector of SQL Expressions (ExpSelConst objects)

getHaving

public ExpSelConst getHaving()
Gets the HAVING clause.

Returns:
An SQL expression.

toString

public java.lang.String toString()