Package | Description |
---|---|
com.querydsl.jpa |
JPA support
|
com.querydsl.jpa.hibernate |
JPQL for Hibernate
|
com.querydsl.jpa.impl |
JPQL for JPA
|
Modifier and Type | Class and Description |
---|---|
class |
JPAQueryBase<T,Q extends JPAQueryBase<T,Q>>
JPAQueryBase is a base Query class for JPA queries |
Modifier and Type | Method and Description |
---|---|
JPQLQuery<T> |
JPQLQuery.fetchAll()
Add the "fetchJoin all properties" flag to the last defined join.
|
JPQLQuery<T> |
JPQLQuery.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> |
JPQLQuery.from(CollectionExpression<?,P> target,
Path<P> alias)
Add a query source
|
JPQLQuery<?> |
JPQLQueryFactory.from(EntityPath<?>... from)
Create a new Query with the given source
|
JPQLQuery<T> |
JPQLQuery.from(EntityPath<?>... sources)
Add sources to this query
|
JPQLQuery<?> |
JPQLQueryFactory.from(EntityPath<?> from)
Create a new Query with the given source
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(CollectionExpression<?,P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(EntityPath<P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(EntityPath<P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(MapExpression<?,P> target)
Create a inner join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.innerJoin(MapExpression<?,P> target,
Path<P> alias)
Create a inner join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.join(CollectionExpression<?,P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.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> |
JPQLQuery.join(EntityPath<P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.join(EntityPath<P> target,
Path<P> alias)
Create a join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.join(MapExpression<?,P> target)
Create a join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.join(MapExpression<?,P> target,
Path<P> alias)
Create a join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(CollectionExpression<?,P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(EntityPath<P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(EntityPath<P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(MapExpression<?,P> target)
Create a left join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.leftJoin(MapExpression<?,P> target,
Path<P> alias)
Create a left join with the given target and alias.
|
JPQLQuery<T> |
JPQLQuery.on(Predicate... condition)
Add join conditions to the last added join
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(CollectionExpression<?,P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(CollectionExpression<?,P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(EntityPath<P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(EntityPath<P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(MapExpression<?,P> target)
Create a right join with the given target.
|
<P> JPQLQuery<T> |
JPQLQuery.rightJoin(MapExpression<?,P> target,
Path<P> alias)
Create a right join with the given target and alias.
|
JPQLQuery<Tuple> |
JPQLQueryFactory.select(Expression<?>... exprs)
Create a new JPQLQuery instance with the given projection
|
JPQLQuery<Tuple> |
JPQLQuery.select(Expression<?>... exprs) |
static JPQLQuery<Tuple> |
JPAExpressions.select(Expression<?>... exprs)
Create a new detached JPQLQuery instance with the given projection
|
<T> JPQLQuery<T> |
JPQLQueryFactory.select(Expression<T> expr)
Create a new JPQLQuery instance with the given projection
|
static <T> JPQLQuery<T> |
JPAExpressions.select(Expression<T> expr)
Create a new detached JPQLQuery instance with the given projection
|
<U> JPQLQuery<U> |
JPQLQuery.select(Expression<U> expr) |
JPQLQuery<Tuple> |
JPQLQueryFactory.selectDistinct(Expression<?>... exprs)
Create a new JPQLQuery instance with the given projection
|
static JPQLQuery<Tuple> |
JPAExpressions.selectDistinct(Expression<?>... exprs)
Create a new detached JPQLQuery instance with the given projection
|
<T> JPQLQuery<T> |
JPQLQueryFactory.selectDistinct(Expression<T> expr)
Create a new JPQLQuery instance with the given projection
|
static <T> JPQLQuery<T> |
JPAExpressions.selectDistinct(Expression<T> expr)
Create a new detached JPQLQuery instance with the given projection
|
<T> JPQLQuery<T> |
JPQLQueryFactory.selectFrom(EntityPath<T> from)
Create a new JPQLQuery instance with the given source and projection
|
static <T> JPQLQuery<T> |
JPAExpressions.selectFrom(EntityPath<T> expr)
Create a new detached JPQLQuery instance with the given projection
|
JPQLQuery<Integer> |
JPQLQueryFactory.selectOne()
Create a new JPQLQuery instance with the projection one
|
static JPQLQuery<Integer> |
JPAExpressions.selectOne()
Create a new detached JPQLQuery instance with the projection one
|
JPQLQuery<Integer> |
JPQLQueryFactory.selectZero()
Create a new JPQLQuery instance with the projection zero
|
static JPQLQuery<Integer> |
JPAExpressions.selectZero()
Create a new detached JPQLQuery instance with the projection zero
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHibernateQuery<T,Q extends AbstractHibernateQuery<T,Q>>
Abstract base class for Hibernate API based implementations of the JPQL interface
|
class |
HibernateQuery<T>
HibernateQuery is the default implementation of the JPQLQuery interface for Hibernate |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJPAQuery<T,Q extends AbstractJPAQuery<T,Q>>
Abstract base class for JPA API based implementations of the JPQLQuery interface
|
class |
JPAQuery<T>
JPAQuery is the default implementation of the JPQLQuery interface for JPA |
Copyright © 2007–2016 Querydsl. All rights reserved.