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<java.lang.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.
|
java.lang.String |
toString() |
exists, list, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
distinct, equals, groupBy, groupBy, hashCode, having, having, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exists, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
distinct, orderBy, restrict, set
where
public AbstractJPASubQuery()
public AbstractJPASubQuery(QueryMetadata metadata)
public NumberSubQuery<java.lang.Long> count()
Detachable
count
in interface Detachable
count
in class DetachableQuery<Q extends AbstractJPASubQuery<Q>>
public Q from(EntityPath<?> o)
public Q from(EntityPath<?>... o)
JPACommonQuery
from
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(CollectionExpression<?,P> target)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(EntityPath<P> target)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(EntityPath<P> target, Path<P> alias)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(MapExpression<?,P> target)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q fullJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQuery
fullJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(CollectionExpression<?,P> target)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(EntityPath<P> target)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(EntityPath<P> target, Path<P> alias)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(MapExpression<?,P> target)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q innerJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQuery
innerJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q join(CollectionExpression<?,P> target)
JPACommonQuery
join
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)
JPACommonQuery
join
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q join(EntityPath<P> target, Path<P> alias)
JPACommonQuery
join
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q join(MapExpression<?,P> target)
JPACommonQuery
join
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q join(MapExpression<?,P> target, Path<P> alias)
JPACommonQuery
join
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(CollectionExpression<?,P> target)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(EntityPath<P> target)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(EntityPath<P> target, Path<P> alias)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(MapExpression<?,P> target)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q leftJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQuery
leftJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(CollectionExpression<?,P> target)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(EntityPath<P> target)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(EntityPath<P> target, Path<P> alias)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(MapExpression<?,P> target)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public <P> Q rightJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQuery
rightJoin
in interface JPACommonQuery<JPQLSubQuery>
public Q on(Predicate... conditions)
JPACommonQuery
on
in interface JPACommonQuery<JPQLSubQuery>
public Q limit(long l)
QueryBase
limit
in interface SimpleQuery<JPQLSubQuery>
limit
in class QueryBase<Q extends AbstractJPASubQuery<Q>>
public Q offset(long o)
QueryBase
offset
in interface SimpleQuery<JPQLSubQuery>
offset
in class QueryBase<Q extends AbstractJPASubQuery<Q>>
public java.lang.String toString()
toString
in class QueryBase<Q extends AbstractJPASubQuery<Q>>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.