All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Zql.ZGroupBy

java.lang.Object
   |
   +----Zql.ZGroupBy

public class ZGroupBy
extends Object
ZGroupBy: an SQL GROUP BY...HAVING clause


Constructor Index

 o ZGroupBy(Vector)
Create a GROUP BY given a set of Expressions

Method Index

 o getGroupBy()
Get the GROUP BY expressions
 o getHaving()
Get the HAVING clause
 o setHaving(ZExp)
Initiallize the HAVING part of the GROUP BY
 o toString()

Constructors

 o ZGroupBy
 public ZGroupBy(Vector exps)
Create a GROUP BY given a set of Expressions

Parameters:
exps - A vector of SQL Expressions (ZExp objects).

Methods

 o setHaving
 public void setHaving(ZExp e)
Initiallize the HAVING part of the GROUP BY

Parameters:
e - An SQL Expression (the HAVING clause)
 o getGroupBy
 public Vector getGroupBy()
Get the GROUP BY expressions

Returns:
A vector of SQL Expressions (ZExp objects)
 o getHaving
 public ZExp getHaving()
Get the HAVING clause

Returns:
An SQL expression
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index