org.sql.generation.implementation.grammar.query
Class QuerySpecificationImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<BaseInterfaceType,ActualInterfaceType>
      extended by org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase<ValueExpression,ExpressionType>
          extended by org.sql.generation.implementation.grammar.common.NonBooleanExpressionImpl<ExpressionType>
              extended by org.sql.generation.implementation.grammar.query.QueryExpressionBodyImpl<QuerySpecification>
                  extended by org.sql.generation.implementation.grammar.query.QuerySpecificationImpl
All Implemented Interfaces:
org.atp.api.Typeable<ValueExpression>, NonBooleanExpression, ValueExpression, QueryExpressionBody, QueryExpressionBodyActual, QueryExpressionBodyQuery, QuerySpecification

public class QuerySpecificationImpl
extends QueryExpressionBodyImpl<QuerySpecification>
implements QuerySpecification

Author:
Stanislav Muhametsin

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.sql.generation.api.grammar.query.QueryExpressionBody
QueryExpressionBody.EmptyQueryExpressionBody
 
Constructor Summary
protected QuerySpecificationImpl(SQLProcessorAggregator processor, Class<? extends QuerySpecification> queryClass, SelectColumnClause select, FromClause from, BooleanExpression where, GroupByClause groupBy, BooleanExpression having, OrderByClause orderBy, OffsetSpecification offset, LimitSpecification limit)
           
  QuerySpecificationImpl(SQLProcessorAggregator processor, SelectColumnClause select, FromClause from, BooleanExpression where, GroupByClause groupBy, BooleanExpression having, OrderByClause orderBy, OffsetSpecification offset, LimitSpecification limit)
           
 
Method Summary
protected  boolean doesEqual(QuerySpecification another)
           
 SelectColumnClause getColumns()
           
 FromClause getFrom()
           
 GroupByClause getGroupBy()
           
 BooleanExpression getHaving()
           
 LimitSpecification getLimitSpecification()
           
 OffsetSpecification getOffsetSpecification()
           
 OrderByClause getOrderBy()
           
 BooleanExpression getWhere()
           
 
Methods inherited from class org.sql.generation.implementation.grammar.common.SQLSyntaxElementBase
toString
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

QuerySpecificationImpl

public QuerySpecificationImpl(SQLProcessorAggregator processor,
                              SelectColumnClause select,
                              FromClause from,
                              BooleanExpression where,
                              GroupByClause groupBy,
                              BooleanExpression having,
                              OrderByClause orderBy,
                              OffsetSpecification offset,
                              LimitSpecification limit)

QuerySpecificationImpl

protected QuerySpecificationImpl(SQLProcessorAggregator processor,
                                 Class<? extends QuerySpecification> queryClass,
                                 SelectColumnClause select,
                                 FromClause from,
                                 BooleanExpression where,
                                 GroupByClause groupBy,
                                 BooleanExpression having,
                                 OrderByClause orderBy,
                                 OffsetSpecification offset,
                                 LimitSpecification limit)
Method Detail

getColumns

public SelectColumnClause getColumns()
Specified by:
getColumns in interface QuerySpecification

getFrom

public FromClause getFrom()
Specified by:
getFrom in interface QuerySpecification

getWhere

public BooleanExpression getWhere()
Specified by:
getWhere in interface QuerySpecification

getGroupBy

public GroupByClause getGroupBy()
Specified by:
getGroupBy in interface QuerySpecification

getHaving

public BooleanExpression getHaving()
Specified by:
getHaving in interface QuerySpecification

getOrderBy

public OrderByClause getOrderBy()
Specified by:
getOrderBy in interface QuerySpecification

getLimitSpecification

public LimitSpecification getLimitSpecification()
Specified by:
getLimitSpecification in interface QuerySpecification

getOffsetSpecification

public OffsetSpecification getOffsetSpecification()
Specified by:
getOffsetSpecification in interface QuerySpecification

doesEqual

protected boolean doesEqual(QuerySpecification another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<ValueExpression,QuerySpecification>


Copyright © 2010-2012. All Rights Reserved.