|
Spring Data JPA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.jpa.repository.support.Querydsl
public class Querydsl
Helper instance to ease access to Querydsl JPA query API.
Constructor Summary | |
---|---|
Querydsl(javax.persistence.EntityManager em,
com.mysema.query.types.path.PathBuilder<?> builder)
Creates a new Querydsl for the given EntityManager and PathBuilder . |
Method Summary | |
---|---|
com.mysema.query.jpa.JPQLQuery |
applyPagination(Pageable pageable,
com.mysema.query.jpa.JPQLQuery query)
Applies the given Pageable to the given JPQLQuery . |
com.mysema.query.jpa.JPQLQuery |
applySorting(Sort sort,
com.mysema.query.jpa.JPQLQuery query)
Applies sorting to the given JPQLQuery . |
com.mysema.query.jpa.JPQLQuery |
createQuery()
Creates the JPQLQuery instance based on the configured EntityManager . |
com.mysema.query.jpa.JPQLQuery |
createQuery(com.mysema.query.types.EntityPath<?>... paths)
Creates the JPQLQuery instance based on the configured EntityManager . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Querydsl(javax.persistence.EntityManager em, com.mysema.query.types.path.PathBuilder<?> builder)
Querydsl
for the given EntityManager
and PathBuilder
.
em
- must not be null.builder
- must not be null.Method Detail |
---|
public com.mysema.query.jpa.JPQLQuery createQuery()
JPQLQuery
instance based on the configured EntityManager
.
public com.mysema.query.jpa.JPQLQuery createQuery(com.mysema.query.types.EntityPath<?>... paths)
JPQLQuery
instance based on the configured EntityManager
.
public com.mysema.query.jpa.JPQLQuery applyPagination(Pageable pageable, com.mysema.query.jpa.JPQLQuery query)
Pageable
to the given JPQLQuery
.
pageable
- query
- must not be null.
JPQLQuery
.public com.mysema.query.jpa.JPQLQuery applySorting(Sort sort, com.mysema.query.jpa.JPQLQuery query)
JPQLQuery
.
sort
- query
- must not be null.
JPQLQuery
|
Spring Data JPA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |