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

Type Parameters:
Q -
All Superinterfaces:
FilteredClause<Q>, Query<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 an 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 an 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 an 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 an inner join with the given target.
<P> Q
innerJoin(CollectionExpression<?,P> target, Path<P> alias)
          Create an inner join with the given target and alias.
<P> Q
innerJoin(EntityPath<P> target)
          Create an inner join with the given target.
<P> Q
innerJoin(EntityPath<P> target, EntityPath<P> alias)
          Create an inner join with the given target and alias.
<P> Q
innerJoin(MapExpression<?,P> target)
          Create an inner join with the given target.
<P> Q
innerJoin(MapExpression<?,P> target, Path<P> alias)
          Create an inner join with the given target and alias.
<P> Q
join(CollectionExpression<?,P> target)
          Create an join with the given target.
<P> Q
join(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
join(EntityPath<P> target)
          Create an 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 an 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 an 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 an 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 an 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.
 Q with(Predicate... condition)
          Add join conditions to the last added join
 
Methods inherited from interface com.mysema.query.Query
distinct, groupBy, having, 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 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(EntityPath<P> target,
                EntityPath<P> alias)
Create an inner join with the given target and alias.

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

innerJoin

<P> Q innerJoin(CollectionExpression<?,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(CollectionExpression<?,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(MapExpression<?,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(MapExpression<?,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(EntityPath<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(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 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(CollectionExpression<?,P> target,
           Path<P> alias)
Type Parameters:
P -
Parameters:
target -
alias -
Returns:

join

<P> Q join(MapExpression<?,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(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 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(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 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(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 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(MapExpression<?,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(EntityPath<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(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 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(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 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(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-2011 Mysema Ltd. All Rights Reserved.