public class Querydsl extends Object
| Constructor and Description |
|---|
Querydsl(javax.persistence.EntityManager em,
com.mysema.query.types.path.PathBuilder<?> builder)
|
| Modifier and Type | Method and Description |
|---|---|
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.impl.AbstractJPAQuery<com.mysema.query.jpa.impl.JPAQuery> |
createQuery()
Creates the
JPQLQuery instance based on the configured EntityManager. |
com.mysema.query.jpa.impl.AbstractJPAQuery<com.mysema.query.jpa.impl.JPAQuery> |
createQuery(com.mysema.query.types.EntityPath<?>... paths)
Creates the
JPQLQuery instance based on the configured EntityManager. |
public Querydsl(javax.persistence.EntityManager em,
com.mysema.query.types.path.PathBuilder<?> builder)
em - must not be null.builder - must not be null.public com.mysema.query.jpa.impl.AbstractJPAQuery<com.mysema.query.jpa.impl.JPAQuery> createQuery()
JPQLQuery instance based on the configured EntityManager.public com.mysema.query.jpa.impl.AbstractJPAQuery<com.mysema.query.jpa.impl.JPAQuery> 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.JPQLQueryCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.