Q - concrete subtypepublic class AbstractJPASubQuery<Q extends AbstractJPASubQuery<Q>> extends DetachableQuery<Q> implements JPQLSubQuery
| Constructor and Description |
|---|
AbstractJPASubQuery() |
AbstractJPASubQuery(QueryMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
NumberSubQuery<Long> |
count()
Return the count of matched rows as a sub query
|
Q |
from(EntityPath<?>... o)
Set the sources of this query
|
Q |
from(EntityPath<?> o) |
<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,
Path<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,
Path<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,
Path<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,
Path<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.
|
Q |
limit(long l)
Defines the limit / max results for the query results
|
Q |
offset(long o)
Defines the offset for the query results
|
Q |
on(Predicate... conditions)
Add join conditions to the last added join
|
Q |
on(Predicate condition) |
<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,
Path<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.
|
String |
toString() |
exists, list, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, equals, groupBy, groupBy, hashCode, having, having, orderBy, orderBy, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitexists, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, orderBy, restrict, setwherepublic AbstractJPASubQuery()
public AbstractJPASubQuery(QueryMetadata metadata)
public NumberSubQuery<Long> count()
Detachablecount in interface Detachablecount in class DetachableQuery<Q extends AbstractJPASubQuery<Q>>public Q from(EntityPath<?> o)
public Q from(EntityPath<?>... o)
JPACommonQueryfrom in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(CollectionExpression<?,P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(EntityPath<P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(MapExpression<?,P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q fullJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(CollectionExpression<?,P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(EntityPath<P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(MapExpression<?,P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(CollectionExpression<?,P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(CollectionExpression<?,P> target, Path<P> alias)
join in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(EntityPath<P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(EntityPath<P> target, Path<P> alias)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(MapExpression<?,P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(CollectionExpression<?,P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(EntityPath<P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(MapExpression<?,P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(CollectionExpression<?,P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(EntityPath<P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(MapExpression<?,P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public Q on(Predicate... conditions)
JPACommonQueryon in interface JPACommonQuery<JPQLSubQuery>public Q limit(long l)
QueryBaselimit in interface SimpleQuery<JPQLSubQuery>limit in class QueryBase<Q extends AbstractJPASubQuery<Q>>public Q offset(long o)
QueryBaseoffset in interface SimpleQuery<JPQLSubQuery>offset in class QueryBase<Q extends AbstractJPASubQuery<Q>>Copyright © 2007–2014 Mysema Ltd. All rights reserved.