com.mysema.query.hql
Class AbstractSQLQuery<T extends AbstractSQLQuery<T>>

java.lang.Object
  extended by com.mysema.query.support.QueryBase<Q>
      extended by com.mysema.query.support.ProjectableQuery<T>
          extended by com.mysema.query.hql.AbstractSQLQuery<T>
Type Parameters:
T -
All Implemented Interfaces:
Projectable
Direct Known Subclasses:
HibernateSQLQuery, JPASQLQuery

public abstract class AbstractSQLQuery<T extends AbstractSQLQuery<T>>
extends ProjectableQuery<T>

Author:
tiwe

Field Summary
 
Fields inherited from class com.mysema.query.support.QueryBase
queryMixin
 
Constructor Summary
AbstractSQLQuery(QueryMetadata metadata)
           
 
Method Summary
 long count()
          return the amount of matched rows
 T from(PEntity<?>... args)
           
 T fullJoin(PEntity<?> o)
           
 QueryMetadata getMetadata()
           
 T innerJoin(PEntity<?> o)
           
 T join(PEntity<?> o)
           
 T leftJoin(PEntity<?> o)
           
 T on(EBoolean... conditions)
           
 
Methods inherited from class com.mysema.query.support.ProjectableQuery
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult, uniqueResult, uniqueResult
 
Methods inherited from class com.mysema.query.support.QueryBase
groupBy, having, limit, offset, orderBy, restrict, toString, where
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.Projectable
iterate, iterate, listResults
 

Constructor Detail

AbstractSQLQuery

public AbstractSQLQuery(QueryMetadata metadata)
Method Detail

count

public long count()
Description copied from interface: Projectable
return the amount of matched rows


from

public T from(PEntity<?>... args)

fullJoin

public T fullJoin(PEntity<?> o)

getMetadata

public QueryMetadata getMetadata()

innerJoin

public T innerJoin(PEntity<?> o)

join

public T join(PEntity<?> o)

leftJoin

public T leftJoin(PEntity<?> o)

on

public T on(EBoolean... conditions)


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