com.mysema.query
Interface Query<Q extends Query<Q>>

All Superinterfaces:
FilteredClause<Q>, SimpleQuery<Q>
All Known Subinterfaces:
JDOQLCommonQuery<Q>, JDOQLQuery, JPQLCommonQuery<Q>, JPQLQuery, SQLCommonQuery<Q>, SQLQuery
All Known Implementing Classes:
HibernateQuery, HibernateSQLQuery, HibernateSubQuery, JDOQLQueryImpl, JDOQLSubQuery, JDOSQLQuery, JPAQuery, JPASQLQuery, JPASubQuery, JPQLSubQuery, MySQLQuery, OracleQuery, PostgresQuery, SQLQueryImpl, SQLServerQuery, SQLSubQuery

public interface Query<Q extends Query<Q>>
extends SimpleQuery<Q>

Query defines the main query interface of the fluent query language.

Note that the from method has been left out, since there are implementation specific variants of it.

Author:
tiwe
See Also:
SimpleQuery

Method Summary
 Q groupBy(Expression<?>... o)
          Defines the grouping/aggregation expressions
 Q having(Predicate... o)
          Defines the filters for aggregation
 
Methods inherited from interface com.mysema.query.SimpleQuery
distinct, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 

Method Detail

groupBy

Q groupBy(Expression<?>... o)
Defines the grouping/aggregation expressions

Parameters:
o -
Returns:

having

Q having(Predicate... o)
Defines the filters for aggregation

Parameters:
o -
Returns:


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.