Class BlazeJPAQuery<T>
java.lang.Object
com.querydsl.core.support.QueryBase<Q>
com.querydsl.core.support.FetchableQueryBase<T,Q>
com.querydsl.core.support.FetchableSubQueryBase<T,Q>
com.querydsl.jpa.JPAQueryBase<T,Q>
com.querydsl.jpa.impl.AbstractJPAQuery<T,Q>
com.blazebit.persistence.querydsl.AbstractBlazeJPAQuery<T,BlazeJPAQuery<T>>
com.blazebit.persistence.querydsl.BlazeJPAQuery<T>
- Type Parameters:
T- Query result type
- All Implemented Interfaces:
ExtendedFetchable<T>,JPQLNextQuery<T,BlazeJPAQuery<T>>,com.querydsl.core.Fetchable<T>,com.querydsl.core.FetchableQuery<T,com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.FilteredClause<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.Query<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.SimpleQuery<com.querydsl.jpa.JPQLQuery<T>>,com.querydsl.core.support.ExtendedSubQuery<T>,com.querydsl.core.types.Expression<T>,com.querydsl.core.types.SubQueryExpression<T>,com.querydsl.jpa.JPQLQuery<T>,Serializable
public class BlazeJPAQuery<T> extends AbstractBlazeJPAQuery<T,BlazeJPAQuery<T>> implements JPQLNextQuery<T,BlazeJPAQuery<T>>, ExtendedFetchable<T>
BlazeJPAQuery is the default implementation of the JPQLQuery interface for Blaze-Persistence JPQL.Next
- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.blazebit.persistence.querydsl.AbstractBlazeJPAQuery
binds, cachable, criteriaBuilderFactory, LATERAL -
Constructor Summary
Constructors Constructor Description BlazeJPAQuery()Creates a new detached query The query can be attached via the clone methodBlazeJPAQuery(CriteriaBuilderFactory criteriaBuilderFactory)Creates a new CriteriaBuilderFactory bound queryBlazeJPAQuery(javax.persistence.EntityManager em, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new queryBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new queryBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new queryBlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new query -
Method Summary
Modifier and Type Method Description BlazeJPAQuery<T>clone(javax.persistence.EntityManager entityManager)BlazeJPAQuery<T>clone(javax.persistence.EntityManager entityManager, com.querydsl.jpa.JPQLTemplates templates)<T> BlazeJPAQuery<T>createSubQuery()BlazeJPAQuery<com.querydsl.core.Tuple>select(com.querydsl.core.types.Expression<?>... exprs)<U> BlazeJPAQuery<U>select(com.querydsl.core.types.Expression<U> expr)Methods inherited from class com.blazebit.persistence.querydsl.AbstractBlazeJPAQuery
bind, clone, createQuery, createQuery, createSerializer, except, except, exceptAll, exceptAll, fetchCount, fetchOne, fetchPage, fetchPage, fetchResults, from, fromIdentifiableValues, fromIdentifiableValues, fromValues, fromValues, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getFullQueryBuilder, getQueryable, getQueryString, innerJoin, intersect, intersect, intersectAll, intersectAll, lateral, leftJoin, rightJoin, serialize, setCacheable, setOperation, union, union, unionAll, unionAll, window, with, with, withRecursive, withRecursiveMethods inherited from class com.querydsl.jpa.impl.AbstractJPAQuery
cleanupMDC, clone, fetch, iterate, logQuery, reset, setFlushMode, setHint, setLockModeMethods inherited from class com.querydsl.jpa.JPAQueryBase
fetchAll, fetchJoin, from, from, from, getTemplates, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, toStringMethods inherited from class com.querydsl.core.support.FetchableSubQueryBase
accept, contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsMethods inherited from class com.querydsl.core.support.FetchableQueryBase
equals, fetchFirst, transform, uniqueResultMethods inherited from class com.querydsl.core.support.QueryBase
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blazebit.persistence.querydsl.ExtendedFetchable
fetchPage, fetchPage, getQueryStringMethods inherited from interface com.querydsl.core.support.ExtendedSubQuery
contains, contains, eq, eq, exists, goe, goe, gt, gt, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsMethods inherited from interface com.querydsl.core.Fetchable
fetch, fetchCount, fetchFirst, fetchOne, fetchResults, iterateMethods inherited from interface com.blazebit.persistence.querydsl.JPQLNextQuery
distinct, except, except, exceptAll, exceptAll, fetchAll, fetchJoin, from, from, from, fromIdentifiableValues, fromIdentifiableValues, fromValues, fromValues, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, groupBy, having, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, intersect, intersect, intersectAll, intersectAll, join, join, join, join, join, join, lateral, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, limit, offset, on, orderBy, restrict, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, set, union, union, unionAll, unionAll, where, window, with, with, withRecursive, withRecursive
-
Constructor Details
-
BlazeJPAQuery
public BlazeJPAQuery()Creates a new detached query The query can be attached via the clone method -
BlazeJPAQuery
Creates a new CriteriaBuilderFactory bound query- Parameters:
criteriaBuilderFactory- the CriteriaBuilderFactory
-
BlazeJPAQuery
public BlazeJPAQuery(javax.persistence.EntityManager em, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new query- Parameters:
em- TheEntityManagercriteriaBuilderFactory- TheCriteriaBuilderFactory
-
BlazeJPAQuery
public BlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new query- Parameters:
em- TheEntityManagermetadata- TheQueryMetadatacriteriaBuilderFactory- TheCriteriaBuilderFactory
-
BlazeJPAQuery
public BlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new query- Parameters:
em- TheEntityManagertemplates- The templatescriteriaBuilderFactory- TheCriteriaBuilderFactory
-
BlazeJPAQuery
public BlazeJPAQuery(javax.persistence.EntityManager em, com.querydsl.jpa.JPQLTemplates templates, com.querydsl.core.QueryMetadata metadata, CriteriaBuilderFactory criteriaBuilderFactory)Creates a new query- Parameters:
em- TheEntityManagertemplates- The templatesmetadata- The metadata implementationcriteriaBuilderFactory- TheCriteriaBuilderFactory
-
-
Method Details
-
clone
public BlazeJPAQuery<T> clone(javax.persistence.EntityManager entityManager, com.querydsl.jpa.JPQLTemplates templates)- Specified by:
clonein classcom.querydsl.jpa.impl.AbstractJPAQuery<T,BlazeJPAQuery<T>>
-
clone
- Specified by:
clonein classcom.querydsl.jpa.impl.AbstractJPAQuery<T,BlazeJPAQuery<T>>
-
select
-
select
public BlazeJPAQuery<com.querydsl.core.Tuple> select(com.querydsl.core.types.Expression<?>... exprs) -
createSubQuery
-