T
- result typepublic interface JPQLQuery<T> extends FetchableQuery<T,JPQLQuery<T>>, Query<JPQLQuery<T>>, ExtendedSubQuery<T>
Modifier and Type | Method and Description |
---|---|
JPQLQuery<T> |
fetchAll()
Add the "fetchJoin all properties" flag to the last defined join.
|
JPQLQuery<T> |
fetchJoin()
Add the "fetchJoin" flag to the last defined join
Mind that collection joins might result in duplicate rows and that "inner join fetchJoin"
will restrict your result set.
|
<P> JPQLQuery<T> |
from(CollectionExpression<?,P> target,
Path<P> alias)
Add a query source
|
JPQLQuery<T> |
from(EntityPath<?>... sources)
Add sources to this query
|
<P> JPQLQuery<T> |
innerJoin(CollectionExpression<?,P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
innerJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
innerJoin(EntityPath<P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
innerJoin(EntityPath<P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
innerJoin(MapExpression<?,P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
innerJoin(MapExpression<?,P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
join(CollectionExpression<?,P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
join(CollectionExpression<?,P> target,
Path<P> alias)
Create a join with the given target
Use fetchJoin() to add the fetchJoin parameter to this join
|
<P> JPQLQuery<T> |
join(EntityPath<P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
join(EntityPath<P> target,
Path<P> alias)
Create a join with the given target and alias.
|
<P> JPQLQuery<T> |
join(MapExpression<?,P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
join(MapExpression<?,P> target,
Path<P> alias)
Create a join with the given target and alias.
|
<P> JPQLQuery<T> |
leftJoin(CollectionExpression<?,P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
leftJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
<P> JPQLQuery<T> |
leftJoin(EntityPath<P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
leftJoin(EntityPath<P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
<P> JPQLQuery<T> |
leftJoin(MapExpression<?,P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
leftJoin(MapExpression<?,P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
JPQLQuery<T> |
on(Predicate... condition)
Add join conditions to the last added join
|
<P> JPQLQuery<T> |
rightJoin(CollectionExpression<?,P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
rightJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
<P> JPQLQuery<T> |
rightJoin(EntityPath<P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
rightJoin(EntityPath<P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
<P> JPQLQuery<T> |
rightJoin(MapExpression<?,P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
rightJoin(MapExpression<?,P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
JPQLQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> JPQLQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
transform
fetch, fetchCount, fetchFirst, fetchOne, fetchResults, iterate
distinct, limit, offset, orderBy, restrict, set
where
contains, contains, eq, eq, exists, goe, goe, gt, gt, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists
getMetadata
accept, getType
JPQLQuery<T> from(EntityPath<?>... sources)
sources
- sources<P> JPQLQuery<T> from(CollectionExpression<?,P> target, Path<P> alias)
P
- target
- collectionalias
- alias<P> JPQLQuery<T> innerJoin(EntityPath<P> target)
P
- target
- target<P> JPQLQuery<T> innerJoin(EntityPath<P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> innerJoin(CollectionExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> innerJoin(CollectionExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> innerJoin(MapExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> innerJoin(MapExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> join(EntityPath<P> target)
P
- target
- target<P> JPQLQuery<T> join(EntityPath<P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> join(CollectionExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> join(CollectionExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> join(MapExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> join(MapExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> leftJoin(EntityPath<P> target)
P
- target
- target<P> JPQLQuery<T> leftJoin(EntityPath<P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> leftJoin(CollectionExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> leftJoin(CollectionExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> leftJoin(MapExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> leftJoin(MapExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> rightJoin(EntityPath<P> target)
P
- target
- target<P> JPQLQuery<T> rightJoin(EntityPath<P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> rightJoin(CollectionExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> rightJoin(CollectionExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- alias<P> JPQLQuery<T> rightJoin(MapExpression<?,P> target)
P
- target
- target<P> JPQLQuery<T> rightJoin(MapExpression<?,P> target, Path<P> alias)
P
- target
- targetalias
- aliasJPQLQuery<T> on(Predicate... condition)
condition
- join conditionsJPQLQuery<T> fetchJoin()
JPQLQuery<T> fetchAll()
<U> JPQLQuery<U> select(Expression<U> expr)
FetchableQuery
select
in interface FetchableQuery<T,JPQLQuery<T>>
expr
- new projectionJPQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
select
in interface FetchableQuery<T,JPQLQuery<T>>
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.