com.mysema.query.hql
Class HQLQueryBase<SubType extends HQLQueryBase<SubType>>

java.lang.Object
  extended by com.mysema.query.QueryBase<SubType>
      extended by com.mysema.query.support.ProjectableQuery<SubType>
          extended by com.mysema.query.hql.HQLQueryBase<SubType>
All Implemented Interfaces:
Projectable
Direct Known Subclasses:
AbstractHibernateQuery, AbstractJPAQuery

public abstract class HQLQueryBase<SubType extends HQLQueryBase<SubType>>
extends ProjectableQuery<SubType>

HQLQueryBase is a base Query class for HQL

Version:
$Id$
Author:
tiwe

Field Summary
protected  HQLQueryMixin<SubType> queryMixin
           
 
Constructor Summary
HQLQueryBase(QueryMetadata md, HQLTemplates templates)
           
 
Method Summary
 SubType fetch()
           
 SubType fetchAll()
           
 SubType from(PEntity<?>... args)
           
<P> SubType
fullJoin(Path<? extends Collection<P>> target)
           
<P> SubType
fullJoin(Path<? extends Collection<P>> target, Path<P> alias)
           
<P> SubType
fullJoin(PEntity<P> target)
           
<P> SubType
fullJoin(PEntity<P> target, PEntity<P> alias)
           
<P> SubType
fullJoin(PMap<?,P,?> target)
           
<P> SubType
fullJoin(PMap<?,P,?> target, Path<P> alias)
           
protected  Map<Object,String> getConstants()
           
<P> SubType
innerJoin(Path<? extends Collection<P>> target)
           
<P> SubType
innerJoin(Path<? extends Collection<P>> target, Path<P> alias)
           
<P> SubType
innerJoin(PEntity<P> target)
           
<P> SubType
innerJoin(PEntity<P> target, PEntity<P> alias)
           
<P> SubType
innerJoin(PMap<?,P,?> target)
           
<P> SubType
innerJoin(PMap<?,P,?> target, Path<P> alias)
           
<P> SubType
join(Path<? extends Collection<P>> target)
           
<P> SubType
join(Path<? extends Collection<P>> target, Path<P> alias)
           
<P> SubType
join(PEntity<P> target)
           
<P> SubType
join(PEntity<P> target, PEntity<P> alias)
           
<P> SubType
join(PMap<?,P,?> target)
           
<P> SubType
join(PMap<?,P,?> target, Path<P> alias)
           
<P> SubType
leftJoin(Path<? extends Collection<P>> target)
           
<P> SubType
leftJoin(Path<? extends Collection<P>> target, Path<P> alias)
           
<P> SubType
leftJoin(PEntity<P> target)
           
<P> SubType
leftJoin(PEntity<P> target, PEntity<P> alias)
           
<P> SubType
leftJoin(PMap<?,P,?> target)
           
<P> SubType
leftJoin(PMap<?,P,?> target, Path<P> alias)
           
protected  String toCountRowsString()
           
protected  String toQueryString()
           
 String toString()
           
 SubType with(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.QueryBase
groupBy, having, limit, offset, orderBy, restrict, 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
count, iterate, iterate, listResults
 

Field Detail

queryMixin

protected final HQLQueryMixin<SubType extends HQLQueryBase<SubType>> queryMixin
Constructor Detail

HQLQueryBase

public HQLQueryBase(QueryMetadata md,
                    HQLTemplates templates)
Method Detail

fetch

public SubType fetch()

fetchAll

public SubType fetchAll()

from

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

fullJoin

public <P> SubType fullJoin(Path<? extends Collection<P>> target)

fullJoin

public <P> SubType fullJoin(Path<? extends Collection<P>> target,
                            Path<P> alias)

fullJoin

public <P> SubType fullJoin(PEntity<P> target)

fullJoin

public <P> SubType fullJoin(PEntity<P> target,
                            PEntity<P> alias)

fullJoin

public <P> SubType fullJoin(PMap<?,P,?> target)

fullJoin

public <P> SubType fullJoin(PMap<?,P,?> target,
                            Path<P> alias)

getConstants

protected Map<Object,String> getConstants()

innerJoin

public <P> SubType innerJoin(Path<? extends Collection<P>> target)

innerJoin

public <P> SubType innerJoin(Path<? extends Collection<P>> target,
                             Path<P> alias)

innerJoin

public <P> SubType innerJoin(PEntity<P> target)

innerJoin

public <P> SubType innerJoin(PEntity<P> target,
                             PEntity<P> alias)

innerJoin

public <P> SubType innerJoin(PMap<?,P,?> target)

innerJoin

public <P> SubType innerJoin(PMap<?,P,?> target,
                             Path<P> alias)

join

public <P> SubType join(Path<? extends Collection<P>> target)

join

public <P> SubType join(Path<? extends Collection<P>> target,
                        Path<P> alias)

join

public <P> SubType join(PEntity<P> target)

join

public <P> SubType join(PEntity<P> target,
                        PEntity<P> alias)

join

public <P> SubType join(PMap<?,P,?> target)

join

public <P> SubType join(PMap<?,P,?> target,
                        Path<P> alias)

leftJoin

public <P> SubType leftJoin(Path<? extends Collection<P>> target)

leftJoin

public <P> SubType leftJoin(Path<? extends Collection<P>> target,
                            Path<P> alias)

leftJoin

public <P> SubType leftJoin(PEntity<P> target)

leftJoin

public <P> SubType leftJoin(PEntity<P> target,
                            PEntity<P> alias)

leftJoin

public <P> SubType leftJoin(PMap<?,P,?> target)

leftJoin

public <P> SubType leftJoin(PMap<?,P,?> target,
                            Path<P> alias)

with

public SubType with(EBoolean... conditions)

toCountRowsString

protected String toCountRowsString()

toQueryString

protected String toQueryString()

toString

public String toString()
Overrides:
toString in class QueryBase<SubType extends HQLQueryBase<SubType>>


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