com.mysema.query.jpa
Interface JPQLCommonQuery<Q extends JPQLCommonQuery<Q>>

Type Parameters:
Q -
All Superinterfaces:
FilteredClause<Q>, Query<Q>, SimpleQuery<Q>
All Known Subinterfaces:
JPQLQuery
All Known Implementing Classes:
HibernateQuery, HibernateSubQuery, JPAQuery, JPASubQuery, JPQLSubQuery

public interface JPQLCommonQuery<Q extends JPQLCommonQuery<Q>>
extends Query<Q>

JPQLCommonQuery is a common interface for HQLQuery and HQLSubQuery

Author:
tiwe

Method Summary
 Q from(EntityPath<?>... sources)
          Set the sources of this query
<P> Q
fullJoin(CollectionExpression<?,P> target)
          Create a full join with the given target.
<P> Q
fullJoin(CollectionExpression<?,P> target, Path<P> alias)
          Create a full join with the given target and alias.
<P> Q
fullJoin(EntityPath<P> target)
          Create a full join with the given target.
<P> Q
fullJoin(EntityPath<P> target, EntityPath<P> alias)
          Create a full join with the given target and alias.
<P> Q
fullJoin(MapExpression<?,P> target)
          Create a full join with the given target.
<P> Q
fullJoin(MapExpression<?,P> target, Path<P> alias)
          Create a full join with the given target and alias.
<P> Q
innerJoin(CollectionExpression<?,P> target)
          Create a inner join with the given target.
<P> Q
innerJoin(CollectionExpression<?,P> target, Path<P> alias)
          Create a inner join with the given target and alias.
<P> Q
innerJoin(EntityPath<P> target)
          Create a inner join with the given target.
<P> Q
innerJoin(EntityPath<P> target, EntityPath<P> alias)
          Create a inner join with the given target and alias.
<P> Q
innerJoin(MapExpression<?,P> target)
          Create a inner join with the given target.
<P> Q
innerJoin(MapExpression<?,P> target, Path<P> alias)
          Create a inner join with the given target and alias.
<P> Q
join(CollectionExpression<?,P> target)
          Create a join with the given target.
<P> Q
join(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
join(EntityPath<P> target)
          Create a join with the given target.
<P> Q
join(EntityPath<P> target, EntityPath<P> alias)
          Create a join with the given target and alias.
<P> Q
join(MapExpression<?,P> target)
          Create a join with the given target.
<P> Q
join(MapExpression<?,P> target, Path<P> alias)
          Create a join with the given target and alias.
<P> Q
leftJoin(CollectionExpression<?,P> target)
          Create a left join with the given target.
<P> Q
leftJoin(CollectionExpression<?,P> target, Path<P> alias)
          Create a left join with the given target and alias.
<P> Q
leftJoin(EntityPath<P> target)
          Create a left join with the given target.
<P> Q
leftJoin(EntityPath<P> target, EntityPath<P> alias)
          Create a left join with the given target and alias.
<P> Q
leftJoin(MapExpression<?,P> target)
          Create a left join with the given target.
<P> Q
leftJoin(MapExpression<?,P> target, Path<P> alias)
          Create a left join with the given target and alias.
<P> Q
rightJoin(CollectionExpression<?,P> target)
          Create a right join with the given target.
<P> Q
rightJoin(CollectionExpression<?,P> target, Path<P> alias)
          Create a right join with the given target and alias.
<P> Q
rightJoin(EntityPath<P> target)
          Create a right join with the given target.
<P> Q
rightJoin(EntityPath<P> target, EntityPath<P> alias)
          Create a right join with the given target and alias.
<P> Q
rightJoin(MapExpression<?,P> target)
          Create a right join with the given target.
<P> Q
rightJoin(MapExpression<?,P> target, Path<P> alias)
          Create a right join with the given target and alias.
 Q with(Predicate... condition)
          Add join conditions to the last added join
 
Methods inherited from interface com.mysema.query.Query
groupBy, having
 
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

from

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

Parameters:
sources -
Returns:

innerJoin

<P> Q innerJoin(EntityPath<P> target)
Create a 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(EntityPath<P> target,
                EntityPath<P> alias)
Create a inner join with the given target and alias.

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

innerJoin

<P> Q innerJoin(CollectionExpression<?,P> target)
Create a 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(CollectionExpression<?,P> target,
                Path<P> alias)
Create a inner join with the given target and alias.

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

innerJoin

<P> Q innerJoin(MapExpression<?,P> target)
Create a 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(MapExpression<?,P> target,
                Path<P> alias)
Create a inner join with the given target and alias.

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

join

<P> Q join(EntityPath<P> target)
Create a 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(EntityPath<P> target,
           EntityPath<P> alias)
Create a join with the given target and alias.

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

join

<P> Q join(CollectionExpression<?,P> target)
Create a 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(CollectionExpression<?,P> target,
           Path<P> alias)
Type Parameters:
P -
Parameters:
target -
alias -
Returns:

join

<P> Q join(MapExpression<?,P> target)
Create a 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(MapExpression<?,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(EntityPath<P> target)
Create a 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(EntityPath<P> target,
               EntityPath<P> alias)
Create a left join with the given target and alias.

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

leftJoin

<P> Q leftJoin(CollectionExpression<?,P> target)
Create a 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(CollectionExpression<?,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(MapExpression<?,P> target)
Create a 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(MapExpression<?,P> target,
               Path<P> alias)
Create a left join with the given target and alias.

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

rightJoin

<P> Q rightJoin(EntityPath<P> target)
Create a right join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

rightJoin

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

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

rightJoin

<P> Q rightJoin(CollectionExpression<?,P> target)
Create a right join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

rightJoin

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

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

rightJoin

<P> Q rightJoin(MapExpression<?,P> target)
Create a right join with the given target. Use fetch() to add the fetch parameter to this join.

Type Parameters:
P -
Parameters:
target -
Returns:

rightJoin

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

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

fullJoin

<P> Q fullJoin(EntityPath<P> target)
Create a 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(EntityPath<P> target,
               EntityPath<P> alias)
Create a full join with the given target and alias.

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

fullJoin

<P> Q fullJoin(CollectionExpression<?,P> target)
Create a 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(CollectionExpression<?,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(MapExpression<?,P> target)
Create a 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(MapExpression<?,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(Predicate... condition)
Add join conditions to the last added join

Parameters:
condition -
Returns:


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