com.mysema.query.sql
Interface SQLCommonQuery<Q extends SQLCommonQuery<Q>>

Type Parameters:
Q -
All Superinterfaces:
FilteredClause<Q>, Query<Q>
All Known Subinterfaces:
SQLQuery
All Known Implementing Classes:
HibernateSQLQuery, JDOSQLQuery, JPASQLQuery, SQLQueryImpl, SQLSubQuery

public interface SQLCommonQuery<Q extends SQLCommonQuery<Q>>
extends Query<Q>

SQLCommonQuery is a common interface for SQLQuery and SQLSubQuery

Author:
tiwe

Method Summary
 Q from(Expr<?>... o)
          Defines the sources of the query
<E> Q
fullJoin(ForeignKey<E> key, PEntity<E> entity)
          Adds a full join to the given target
 Q fullJoin(PEntity<?> o)
          Adds a full join to the given target
 Q fullJoin(SubQuery<?> o, Path<?> alias)
          Adds a full join to the given target
<E> Q
innerJoin(ForeignKey<E> foreign, PEntity<E> entity)
          Adds an inner join to the given target
 Q innerJoin(PEntity<?> o)
          Adds an inner join to the given target
 Q innerJoin(SubQuery<?> o, Path<?> alias)
          Adds an inner join to the given target
<E> Q
join(ForeignKey<E> foreign, PEntity<E> entity)
          Adds a join to the given target
 Q join(PEntity<?> o)
          Adds a join to the given target
 Q join(SubQuery<?> o, Path<?> alias)
          Adds a join to the given target
<E> Q
leftJoin(ForeignKey<E> foreign, PEntity<E> entity)
          Adds a left join to the given target
 Q leftJoin(PEntity<?> o)
          Adds a left join to the given target
 Q leftJoin(SubQuery<?> o, Path<?> alias)
          Adds a left join to the given target
 Q on(EBoolean... conditions)
          Defines a filter to the last added join
<E> Q
rightJoin(ForeignKey<E> foreign, PEntity<E> entity)
          Adds a right join to the given target
 Q rightJoin(PEntity<?> o)
          Adds a right join to the given target
 Q rightJoin(SubQuery<?> o, Path<?> alias)
          Adds a right join to the given target
 
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(Expr<?>... o)
Defines the sources of the query

Parameters:
o -
Returns:

fullJoin

Q fullJoin(PEntity<?> o)
Adds a full join to the given target

Parameters:
o -
Returns:

innerJoin

Q innerJoin(PEntity<?> o)
Adds an inner join to the given target

Parameters:
o -
Returns:

join

Q join(PEntity<?> o)
Adds a join to the given target

Parameters:
o -
Returns:

leftJoin

Q leftJoin(PEntity<?> o)
Adds a left join to the given target

Parameters:
o -
Returns:

rightJoin

Q rightJoin(PEntity<?> o)
Adds a right join to the given target

Parameters:
o -
Returns:

fullJoin

<E> Q fullJoin(ForeignKey<E> key,
               PEntity<E> entity)
Adds a full join to the given target

Parameters:
o -
Returns:

innerJoin

<E> Q innerJoin(ForeignKey<E> foreign,
                PEntity<E> entity)
Adds an inner join to the given target

Parameters:
o -
Returns:

join

<E> Q join(ForeignKey<E> foreign,
           PEntity<E> entity)
Adds a join to the given target

Parameters:
o -
Returns:

leftJoin

<E> Q leftJoin(ForeignKey<E> foreign,
               PEntity<E> entity)
Adds a left join to the given target

Parameters:
o -
Returns:

rightJoin

<E> Q rightJoin(ForeignKey<E> foreign,
                PEntity<E> entity)
Adds a right join to the given target

Parameters:
o -
Returns:

fullJoin

Q fullJoin(SubQuery<?> o,
           Path<?> alias)
Adds a full join to the given target

Parameters:
o -
Returns:

innerJoin

Q innerJoin(SubQuery<?> o,
            Path<?> alias)
Adds an inner join to the given target

Parameters:
o -
Returns:

join

Q join(SubQuery<?> o,
       Path<?> alias)
Adds a join to the given target

Parameters:
o -
Returns:

leftJoin

Q leftJoin(SubQuery<?> o,
           Path<?> alias)
Adds a left join to the given target

Parameters:
o -
Returns:

rightJoin

Q rightJoin(SubQuery<?> o,
            Path<?> alias)
Adds a right join to the given target

Parameters:
o -
Returns:

on

Q on(EBoolean... conditions)
Defines a filter to the last added join

Parameters:
conditions -
Returns:


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