com.jdc.rdb.sql.dml.select
Class Having
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.SQLClause
|
+--com.jdc.rdb.sql.dml.DMLClause
|
+--com.jdc.rdb.sql.dml.select.Having
- All Implemented Interfaces:
- Clause, SelectClause, Serializable
- public class Having
- extends DMLClause
- implements SelectClause
Having represents a Select
SQL statement HAVING clause. The HAVING
clause specifies specifies an intermediate result table that consists of those
groups of rows for which the search-condition is true.
Rows is the result of the previous clause of the subselect. If this
(previous) clause is not GROUP BY, rows is considered
to be a single group with no grouping columns.
- Version:
- 2.0
- Author:
- Jay Damon
- See Also:
Select,
Serialized Form
|
Constructor Summary |
Having()
Constructs a new Having clause object. |
Having(String value)
Constructs a new Having clause object for the specified
search condition or conditions. |
Having
public Having()
- Constructs a new
Having clause object.
Having
public Having(String value)
- Constructs a new
Having clause object for the specified
search condition or conditions.
- Throws:
SQLInvalidException - No HAVING clause search condition is specified.
getKeyword
public String getKeyword()
- Returns the
Having clause keyword.
- Overrides:
getKeyword in class SQLClause
- Returns:
- The
Having clause keyword.
getValue
public String getValue()
- Returns the
Having clause value.
- Overrides:
getValue in class SQLClause
- Returns:
- The
Having clause value.
toString
public String toString()
- Returns a
String representation of this Having clause.
- Specified by:
toString in interface SelectClause- Overrides:
toString in class SQLClause
- Returns:
- A
String representation of this Having clause.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.