com.mysema.query.jpa
Class AbstractJPQLSubQuery<Q extends AbstractJPQLSubQuery<Q>>

java.lang.Object
  extended by com.mysema.query.support.QueryBase<Q>
      extended by com.mysema.query.support.DetachableQuery<Q>
          extended by com.mysema.query.jpa.AbstractJPQLSubQuery<Q>
Type Parameters:
Q - concrete subtype
All Implemented Interfaces:
Detachable
Direct Known Subclasses:
HibernateSubQuery, JPASubQuery, JPQLSubQuery

public class AbstractJPQLSubQuery<Q extends AbstractJPQLSubQuery<Q>>
extends DetachableQuery<Q>

Abstract superclass for SubQuery implementations

Author:
tiwe

Constructor Summary
AbstractJPQLSubQuery()
           
AbstractJPQLSubQuery(QueryMetadata metadata)
           
 
Method Summary
 NumberSubQuery<Long> count()
          Return the count of matched rows as a sub query
 Q from(EntityPath<?>... o)
           
<P> Q
fullJoin(CollectionExpression<?,P> target)
           
<P> Q
fullJoin(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
fullJoin(EntityPath<P> target)
           
<P> Q
fullJoin(EntityPath<P> target, EntityPath<P> alias)
           
<P> Q
fullJoin(MapExpression<?,P> target)
           
<P> Q
fullJoin(MapExpression<?,P> target, Path<P> alias)
           
<P> Q
innerJoin(CollectionExpression<?,P> target)
           
<P> Q
innerJoin(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
innerJoin(EntityPath<P> target)
           
<P> Q
innerJoin(EntityPath<P> target, EntityPath<P> alias)
           
<P> Q
innerJoin(MapExpression<?,P> target)
           
<P> Q
innerJoin(MapExpression<?,P> target, Path<P> alias)
           
<P> Q
join(CollectionExpression<?,P> target)
           
<P> Q
join(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
join(EntityPath<P> target)
           
<P> Q
join(EntityPath<P> target, EntityPath<P> alias)
           
<P> Q
join(MapExpression<?,P> target)
           
<P> Q
join(MapExpression<?,P> target, Path<P> alias)
           
<P> Q
leftJoin(CollectionExpression<?,P> target)
           
<P> Q
leftJoin(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
leftJoin(EntityPath<P> target)
           
<P> Q
leftJoin(EntityPath<P> target, EntityPath<P> alias)
           
<P> Q
leftJoin(MapExpression<?,P> target)
           
<P> Q
leftJoin(MapExpression<?,P> target, Path<P> alias)
           
<P> Q
rightJoin(CollectionExpression<?,P> target)
           
<P> Q
rightJoin(CollectionExpression<?,P> target, Path<P> alias)
           
<P> Q
rightJoin(EntityPath<P> target)
           
<P> Q
rightJoin(EntityPath<P> target, EntityPath<P> alias)
           
<P> Q
rightJoin(MapExpression<?,P> target)
           
<P> Q
rightJoin(MapExpression<?,P> target, Path<P> alias)
           
 String toString()
           
 Q with(Predicate... conditions)
           
 
Methods inherited from class com.mysema.query.support.DetachableQuery
exists, list, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
 
Methods inherited from class com.mysema.query.support.QueryBase
distinct, equals, groupBy, hashCode, having, limit, offset, orderBy, restrict, set, where
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractJPQLSubQuery

public AbstractJPQLSubQuery()

AbstractJPQLSubQuery

public AbstractJPQLSubQuery(QueryMetadata metadata)
Method Detail

count

public NumberSubQuery<Long> count()
Description copied from interface: Detachable
Return the count of matched rows as a sub query

Specified by:
count in interface Detachable
Overrides:
count in class DetachableQuery<Q extends AbstractJPQLSubQuery<Q>>
Returns:

from

public Q from(EntityPath<?>... o)

fullJoin

public <P> Q fullJoin(CollectionExpression<?,P> target)

fullJoin

public <P> Q fullJoin(CollectionExpression<?,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(MapExpression<?,P> target)

fullJoin

public <P> Q fullJoin(MapExpression<?,P> target,
                      Path<P> alias)

innerJoin

public <P> Q innerJoin(CollectionExpression<?,P> target)

innerJoin

public <P> Q innerJoin(CollectionExpression<?,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(MapExpression<?,P> target)

innerJoin

public <P> Q innerJoin(MapExpression<?,P> target,
                       Path<P> alias)

join

public <P> Q join(CollectionExpression<?,P> target)

join

public <P> Q join(CollectionExpression<?,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(MapExpression<?,P> target)

join

public <P> Q join(MapExpression<?,P> target,
                  Path<P> alias)

leftJoin

public <P> Q leftJoin(CollectionExpression<?,P> target)

leftJoin

public <P> Q leftJoin(CollectionExpression<?,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(MapExpression<?,P> target)

leftJoin

public <P> Q leftJoin(MapExpression<?,P> target,
                      Path<P> alias)

rightJoin

public <P> Q rightJoin(CollectionExpression<?,P> target)

rightJoin

public <P> Q rightJoin(CollectionExpression<?,P> target,
                       Path<P> alias)

rightJoin

public <P> Q rightJoin(EntityPath<P> target)

rightJoin

public <P> Q rightJoin(EntityPath<P> target,
                       EntityPath<P> alias)

rightJoin

public <P> Q rightJoin(MapExpression<?,P> target)

rightJoin

public <P> Q rightJoin(MapExpression<?,P> target,
                       Path<P> alias)

with

public Q with(Predicate... conditions)

toString

public String toString()
Overrides:
toString in class QueryBase<Q extends AbstractJPQLSubQuery<Q>>


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