org.sql.generation.api.grammar.query
Interface QuerySpecification

All Superinterfaces:
QueryExpressionBody, QueryExpressionBodyActual, QueryExpressionBodyQuery, org.atp.api.Typeable<QueryExpressionBody>
All Known Subinterfaces:
PgSQLQuerySpecification

public interface QuerySpecification
extends QueryExpressionBodyQuery

This syntax element represents the single SELECT statement.

Author:
Stanislav Muhametsin
See Also:
QuerySpecificationBuilder, SelectColumnClause, FromClause, BooleanExpression, GroupByClause, OrderByClause

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.query.QueryExpressionBody
QueryExpressionBody.EmptyQueryExpressionBody
 
Method Summary
 SelectColumnClause getColumns()
          Returns the columns in this SELECT statement.
 FromClause getFrom()
          Returns the FROM clause of this SELECT statement.
 GroupByClause getGroupBy()
          Returns the GROUP BY clause of this SELECT statement.
 BooleanExpression getHaving()
          Returns the grouping condition for GROUP BY clause of this SELECT statement.
 OrderByClause getOrderBy()
          Returns the ORDER BY clause of this SELECT statement.
 BooleanExpression getWhere()
          Returns the search condition for resulting rows of this SELECT statement.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Method Detail

getColumns

SelectColumnClause getColumns()
Returns the columns in this SELECT statement.

Returns:
The columns in this SELECT statement.

getFrom

FromClause getFrom()
Returns the FROM clause of this SELECT statement.

Returns:
The FROM clause of this SELECT statement.

getWhere

BooleanExpression getWhere()
Returns the search condition for resulting rows of this SELECT statement.

Returns:
The search condition for resulting rows of this SELECT statement.

getGroupBy

GroupByClause getGroupBy()
Returns the GROUP BY clause of this SELECT statement.

Returns:
The GROUP BY clause of this SELECT statement.

getHaving

BooleanExpression getHaving()
Returns the grouping condition for GROUP BY clause of this SELECT statement.

Returns:
The grouping condition for GROUP BY clause of this SELECT statement.

getOrderBy

OrderByClause getOrderBy()
Returns the ORDER BY clause of this SELECT statement.

Returns:
The ORDER BY clause of this SELECT statement.


Copyright © 2010. All Rights Reserved.