com.mysema.query.jpa
Class AbstractJPQLSubQuery<Q extends AbstractJPQLSubQuery<Q>>
java.lang.Object
com.mysema.query.support.QueryBase<Q>
com.mysema.query.support.DetachableQuery<Q>
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
Method Summary |
NumberSubQuery<Long> |
count()
Return the count of matched rows as a sub query |
Q |
from(EntityPath<?>... o)
|
|
fullJoin(CollectionExpression<?,P> target)
|
|
fullJoin(CollectionExpression<?,P> target,
Path<P> alias)
|
|
fullJoin(EntityPath<P> target)
|
|
fullJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
fullJoin(MapExpression<?,P> target)
|
|
fullJoin(MapExpression<?,P> target,
Path<P> alias)
|
|
innerJoin(CollectionExpression<?,P> target)
|
|
innerJoin(CollectionExpression<?,P> target,
Path<P> alias)
|
|
innerJoin(EntityPath<P> target)
|
|
innerJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
innerJoin(MapExpression<?,P> target)
|
|
innerJoin(MapExpression<?,P> target,
Path<P> alias)
|
|
join(CollectionExpression<?,P> target)
|
|
join(CollectionExpression<?,P> target,
Path<P> alias)
|
|
join(EntityPath<P> target)
|
|
join(EntityPath<P> target,
EntityPath<P> alias)
|
|
join(MapExpression<?,P> target)
|
|
join(MapExpression<?,P> target,
Path<P> alias)
|
|
leftJoin(CollectionExpression<?,P> target)
|
|
leftJoin(CollectionExpression<?,P> target,
Path<P> alias)
|
|
leftJoin(EntityPath<P> target)
|
|
leftJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
leftJoin(MapExpression<?,P> target)
|
|
leftJoin(MapExpression<?,P> target,
Path<P> alias)
|
|
rightJoin(CollectionExpression<?,P> target)
|
|
rightJoin(CollectionExpression<?,P> target,
Path<P> alias)
|
|
rightJoin(EntityPath<P> target)
|
|
rightJoin(EntityPath<P> target,
EntityPath<P> alias)
|
|
rightJoin(MapExpression<?,P> target)
|
|
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 |
AbstractJPQLSubQuery
public AbstractJPQLSubQuery()
AbstractJPQLSubQuery
public AbstractJPQLSubQuery(QueryMetadata metadata)
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.