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

All Superinterfaces:
NonBooleanExpression, QueryExpressionBody, QueryExpressionBodyActual, QueryExpressionBodyQuery, org.atp.api.Typeable<ValueExpression>, ValueExpression

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.
 LimitSpecification getLimitSpecification()
          Returns the FETCH FIRST <number> ROWS ONLY expression for this SELECT statement.
 OffsetSpecification getOffsetSpecification()
          Returns the OFFSET <number> ROWS expression for 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.

getLimitSpecification

LimitSpecification getLimitSpecification()
Returns the FETCH FIRST <number> ROWS ONLY expression for this SELECT statement.

Returns:
The FETCH FIRST <number> ROWS ONLY expression for this SELECT statement.

getOffsetSpecification

OffsetSpecification getOffsetSpecification()
Returns the OFFSET <number> ROWS expression for this SELECT statement.

Returns:
The OFFSET <number> ROWS expression for this SELECT statement.


Copyright © 2010-2012. All Rights Reserved.