com.mysema.query.hql
Interface HQLCommonQuery<Q extends HQLCommonQuery<Q>>

Type Parameters:
Q -
All Superinterfaces:
FilteredClause<Q>, Query<Q>
All Known Subinterfaces:
HQLQuery
All Known Implementing Classes:
HibernateQuery, HQLSubQuery, JPAQuery

public interface HQLCommonQuery<Q extends HQLCommonQuery<Q>>
extends Query<Q>

HQLCommonQuery is a common interface for HQLQuery and HQLSubQuery

Author:
tiwe

Method Summary
 Q from(PEntity<?>... sources)
          Set the sources of this query
<P> Q
fullJoin(Path<? extends Collection<P>> target)
          Create an full join with the given target.
<P> Q
fullJoin(Path<? extends Collection<P>> target, Path<P> alias)
          Create a full join with the given target and alias.
<P> Q
fullJoin(PEntity<P> target)
          Create an full join with the given target.
<P> Q
fullJoin(PEntity<P> target, PEntity<P> alias)
          Create a full join with the given target and alias.
<P> Q
fullJoin(PMap<?,P,?> target)
          Create an full join with the given target.
<P> Q
fullJoin(PMap<?,P,?> target, Path<P> alias)
          Create a full join with the given target and alias.
<P> Q
innerJoin(Path<? extends Collection<P>> target)
          Create an inner join with the given target.
<P> Q
innerJoin(Path<? extends Collection<P>> target, Path<P> alias)
          Create an inner join with the given target and alias.
<P> Q
innerJoin(PEntity<P> target)
          Create an inner join with the given target.
<P> Q
innerJoin(PEntity<P> target, PEntity<P> alias)
          Create an inner join with the given target and alias.
<P> Q
innerJoin(PMap<?,P,?> target)
          Create an inner join with the given target.
<P> Q
innerJoin(PMap<?,P,?> target, Path<P> alias)
          Create an inner join with the given target and alias.
<P> Q
join(Path<? extends Collection<P>> target)
          Create an join with the given target.
<P> Q
join(Path<? extends Collection<P>> target, Path<P> alias)
           
<P> Q
join(PEntity<P> target)
          Create an join with the given target.
<P> Q
join(PEntity<P> target, PEntity<P> alias)
          Create a join with the given target and alias.
<P> Q
join(PMap<?,P,?> target)
          Create an join with the given target.
<P> Q
join(PMap<?,P,?> target, Path<P> alias)
          Create a join with the given target and alias.
<P> Q
leftJoin(Path<? extends Collection<P>> target)
          Create an left join with the given target.
<P> Q
leftJoin(Path<? extends Collection<P>> target, Path<P> alias)
          Create a left join with the given target and alias.
<P> Q
leftJoin(PEntity<P> target)
          Create an left join with the given target.
<P> Q
leftJoin(PEntity<P> target, PEntity<P> alias)
          Create a left join with the given target and alias.
<P> Q
leftJoin(PMap<?,P,?> target)
          Create an left join with the given target.
<P> Q
leftJoin(PMap<?,P,?> target, Path<P> alias)
          Create a left join with the given target and alias.
 Q with(EBoolean... condition)
          Add conditions to the with clause
 
Methods inherited from interface com.mysema.query.Query
groupBy, having, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 

Method Detail

from

Q from(PEntity<?>... sources)
Set the sources of this query

Parameters:
sources -
Returns:

innerJoin

<P> Q innerJoin(PEntity<P> target)
Create an inner join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

innerJoin

<P> Q innerJoin(PEntity<P> target,
                PEntity<P> alias)
Create an inner join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

innerJoin

<P> Q innerJoin(Path<? extends Collection<P>> target)
Create an inner join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

innerJoin

<P> Q innerJoin(Path<? extends Collection<P>> target,
                Path<P> alias)
Create an inner join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

innerJoin

<P> Q innerJoin(PMap<?,P,?> target)
Create an inner join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

innerJoin

<P> Q innerJoin(PMap<?,P,?> target,
                Path<P> alias)
Create an inner join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

join

<P> Q join(PEntity<P> target)
Create an join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

join

<P> Q join(PEntity<P> target,
           PEntity<P> alias)
Create a join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

join

<P> Q join(Path<? extends Collection<P>> target)
Create an join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

join

<P> Q join(Path<? extends Collection<P>> target,
           Path<P> alias)
Type Parameters:
P -
Parameters:
target -
alias -
Returns:

join

<P> Q join(PMap<?,P,?> target)
Create an join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

join

<P> Q join(PMap<?,P,?> target,
           Path<P> alias)
Create a join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

leftJoin

<P> Q leftJoin(PEntity<P> target)
Create an left join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

leftJoin

<P> Q leftJoin(PEntity<P> target,
               PEntity<P> alias)
Create a left join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

leftJoin

<P> Q leftJoin(Path<? extends Collection<P>> target)
Create an left join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

leftJoin

<P> Q leftJoin(Path<? extends Collection<P>> target,
               Path<P> alias)
Create a left join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

leftJoin

<P> Q leftJoin(PMap<?,P,?> target)
Create an left join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

leftJoin

<P> Q leftJoin(PMap<?,P,?> target,
               Path<P> alias)
Create a left join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

fullJoin

<P> Q fullJoin(PEntity<P> target)
Create an full join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

fullJoin

<P> Q fullJoin(PEntity<P> target,
               PEntity<P> alias)
Create a full join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

fullJoin

<P> Q fullJoin(Path<? extends Collection<P>> target)
Create an full join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

fullJoin

<P> Q fullJoin(Path<? extends Collection<P>> target,
               Path<P> alias)
Create a full join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

fullJoin

<P> Q fullJoin(PMap<?,P,?> target)
Create an full join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

fullJoin

<P> Q fullJoin(PMap<?,P,?> target,
               Path<P> alias)
Create a full join with the given target and alias.

Type Parameters:
P -
Parameters:
target -
alias -
Returns:

with

Q with(EBoolean... condition)
Add conditions to the with clause

Parameters:
condition -
Returns:


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