com.mysema.query.hql
Class HQLQueryBase<Q extends HQLQueryBase<Q>>
java.lang.Object
com.mysema.query.support.QueryBase<Q>
com.mysema.query.support.ProjectableQuery<Q>
com.mysema.query.hql.HQLQueryBase<Q>
- All Implemented Interfaces:
- Projectable
- Direct Known Subclasses:
- AbstractHibernateQuery, AbstractJPAQuery
public abstract class HQLQueryBase<Q extends HQLQueryBase<Q>>
- extends ProjectableQuery<Q>
HQLQueryBase is a base Query class for HQL
- Version:
- $Id$
- Author:
- tiwe
Method Summary |
protected String |
buildQueryString(boolean forCountRow)
|
Q |
fetch()
|
Q |
fetchAll()
|
Q |
from(EntityPath<?>... args)
|
|
fullJoin(EntityPath<P> target)
|
|
fullJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
fullJoin(Path<? extends Collection<P>> target)
|
|
fullJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
fullJoin(PMap<?,P,?> target)
|
|
fullJoin(PMap<?,P,?> target,
Path<P> alias)
|
protected Map<Object,String> |
getConstants()
|
QueryMetadata |
getMetadata()
|
protected HQLQueryMixin<Q> |
getQueryMixin()
|
protected JPQLTemplates |
getTemplates()
|
|
innerJoin(EntityPath<P> target)
|
|
innerJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
innerJoin(Path<? extends Collection<P>> target)
|
|
innerJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
innerJoin(PMap<?,P,?> target)
|
|
innerJoin(PMap<?,P,?> target,
Path<P> alias)
|
|
join(EntityPath<P> target)
|
|
join(EntityPath<P> target,
EntityPath<P> alias)
|
|
join(Path<? extends Collection<P>> target)
|
|
join(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
join(PMap<?,P,?> target)
|
|
join(PMap<?,P,?> target,
Path<P> alias)
|
|
leftJoin(EntityPath<P> target)
|
|
leftJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
leftJoin(Path<? extends Collection<P>> target)
|
|
leftJoin(Path<? extends Collection<P>> target,
Path<P> alias)
|
|
leftJoin(PMap<?,P,?> target)
|
|
leftJoin(PMap<?,P,?> target,
Path<P> alias)
|
protected void |
reset()
|
protected void |
setConstants(Map<Object,String> constants)
|
protected String |
toCountRowsString()
|
protected String |
toQueryString()
|
String |
toString()
|
Q |
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 |
HQLQueryBase
public HQLQueryBase(QueryMetadata md,
JPQLTemplates templates)
getTemplates
protected JPQLTemplates getTemplates()
getQueryMixin
protected HQLQueryMixin<Q> getQueryMixin()
buildQueryString
protected String buildQueryString(boolean forCountRow)
reset
protected void reset()
fetch
public Q fetch()
fetchAll
public Q fetchAll()
from
public Q from(EntityPath<?>... args)
fullJoin
public <P> Q fullJoin(Path<? extends Collection<P>> target)
fullJoin
public <P> Q fullJoin(Path<? extends Collection<P>> target,
Path<P> alias)
fullJoin
public <P> Q fullJoin(EntityPath<P> target)
fullJoin
public <P> Q fullJoin(EntityPath<P> target,
EntityPath<P> alias)
fullJoin
public <P> Q fullJoin(PMap<?,P,?> target)
fullJoin
public <P> Q fullJoin(PMap<?,P,?> target,
Path<P> alias)
getConstants
protected Map<Object,String> getConstants()
innerJoin
public <P> Q innerJoin(Path<? extends Collection<P>> target)
innerJoin
public <P> Q innerJoin(Path<? extends Collection<P>> target,
Path<P> alias)
innerJoin
public <P> Q innerJoin(EntityPath<P> target)
innerJoin
public <P> Q innerJoin(EntityPath<P> target,
EntityPath<P> alias)
innerJoin
public <P> Q innerJoin(PMap<?,P,?> target)
innerJoin
public <P> Q innerJoin(PMap<?,P,?> target,
Path<P> alias)
join
public <P> Q join(Path<? extends Collection<P>> target)
join
public <P> Q join(Path<? extends Collection<P>> target,
Path<P> alias)
join
public <P> Q join(EntityPath<P> target)
join
public <P> Q join(EntityPath<P> target,
EntityPath<P> alias)
join
public <P> Q join(PMap<?,P,?> target)
join
public <P> Q join(PMap<?,P,?> target,
Path<P> alias)
leftJoin
public <P> Q leftJoin(Path<? extends Collection<P>> target)
leftJoin
public <P> Q leftJoin(Path<? extends Collection<P>> target,
Path<P> alias)
leftJoin
public <P> Q leftJoin(EntityPath<P> target)
leftJoin
public <P> Q leftJoin(EntityPath<P> target,
EntityPath<P> alias)
leftJoin
public <P> Q leftJoin(PMap<?,P,?> target)
leftJoin
public <P> Q leftJoin(PMap<?,P,?> target,
Path<P> alias)
with
public Q with(EBoolean... conditions)
setConstants
protected void setConstants(Map<Object,String> constants)
toCountRowsString
protected String toCountRowsString()
toQueryString
protected String toQueryString()
toString
public String toString()
- Overrides:
toString
in class QueryBase<Q extends HQLQueryBase<Q>>
getMetadata
public QueryMetadata getMetadata()
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.