Package com.querydsl.jpa
Class JPAQueryBase<T,Q extends JPAQueryBase<T,Q>>
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>
- Type Parameters:
T- result typeQ- concrete subtype
- All Implemented Interfaces:
Fetchable<T>,FetchableQuery<T,,JPQLQuery<T>> FilteredClause<JPQLQuery<T>>,Query<JPQLQuery<T>>,SimpleQuery<JPQLQuery<T>>,ExtendedSubQuery<T>,Expression<T>,SubQueryExpression<T>,JPQLQuery<T>,Serializable
- Direct Known Subclasses:
AbstractHibernateQuery,AbstractJPAQuery
public abstract class JPAQueryBase<T,Q extends JPAQueryBase<T,Q>>
extends FetchableSubQueryBase<T,Q>
implements JPQLQuery<T>
JPAQueryBase is a base Query class for JPA queries- Author:
- tiwe
- See Also:
-
Field Summary
FieldsFields inherited from class com.querydsl.core.support.QueryBase
MDC_PARAMETERS, MDC_QUERY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Qclone()protected abstract JPQLSerializerfetchAll()Add the "fetchJoin all properties" flag to the last defined join.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> Qfrom(CollectionExpression<?, P> target, Path<P> alias) Add a query sourcefrom(EntityPath<?> arg) from(EntityPath<?>... args) Add sources to this queryprotected JPQLTemplates<P> QinnerJoin(CollectionExpression<?, P> target) Create a inner join with the given target.<P> QinnerJoin(CollectionExpression<?, P> target, Path<P> alias) Create a inner join with the given target and alias.<P> QinnerJoin(EntityPath<P> target) Create a inner join with the given target.<P> QinnerJoin(EntityPath<P> target, Path<P> alias) Create a inner join with the given target and alias.<P> QinnerJoin(MapExpression<?, P> target) Create a inner join with the given target.<P> QinnerJoin(MapExpression<?, P> target, Path<P> alias) Create a inner join with the given target and alias.<P> Qjoin(CollectionExpression<?, P> target) Create a join with the given target.<P> Qjoin(CollectionExpression<?, P> target, Path<P> alias) Create a join with the given target Use fetchJoin() to add the fetchJoin parameter to this join<P> Qjoin(EntityPath<P> target) Create a join with the given target.<P> Qjoin(EntityPath<P> target, Path<P> alias) Create a join with the given target and alias.<P> Qjoin(MapExpression<?, P> target) Create a join with the given target.<P> Qjoin(MapExpression<?, P> target, Path<P> alias) Create a join with the given target and alias.<P> QleftJoin(CollectionExpression<?, P> target) Create a left join with the given target.<P> QleftJoin(CollectionExpression<?, P> target, Path<P> alias) Create a left join with the given target and alias.<P> QleftJoin(EntityPath<P> target) Create a left join with the given target.<P> QleftJoin(EntityPath<P> target, Path<P> alias) Create a left join with the given target and alias.<P> QleftJoin(MapExpression<?, P> target) Create a left join with the given target.<P> QleftJoin(MapExpression<?, P> target, Path<P> alias) Create a left join with the given target and alias.Add join conditions to the last added joinprotected abstract voidreset()<P> QrightJoin(CollectionExpression<?, P> target) Create a right join with the given target.<P> QrightJoin(CollectionExpression<?, P> target, Path<P> alias) Create a right join with the given target and alias.<P> QrightJoin(EntityPath<P> target) Create a right join with the given target.<P> QrightJoin(EntityPath<P> target, Path<P> alias) Create a right join with the given target and alias.<P> QrightJoin(MapExpression<?, P> target) Create a right join with the given target.<P> QrightJoin(MapExpression<?, P> target, Path<P> alias) Create a right join with the given target and alias.protected JPQLSerializerserialize(boolean forCountRow) protected JPQLSerializerserialize(boolean forCountRow, boolean validate) toString()Methods 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, fetch, 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.querydsl.core.types.Expression
accept, getTypeMethods 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, iterate, streamMethods inherited from interface com.querydsl.core.FetchableQuery
transformMethods inherited from interface com.querydsl.core.FilteredClause
whereMethods inherited from interface com.querydsl.core.SimpleQuery
distinct, limit, offset, orderBy, restrict, setMethods inherited from interface com.querydsl.core.types.SubQueryExpression
getMetadata
-
Field Details
-
queryMixin
-
-
Constructor Details
-
JPAQueryBase
-
-
Method Details
-
getTemplates
-
createSerializer
-
serialize
-
serialize
-
reset
protected abstract void reset() -
fetchJoin
Description copied from interface:JPQLQueryAdd 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. -
fetchAll
Description copied from interface:JPQLQueryAdd the "fetchJoin all properties" flag to the last defined join. -
from
-
from
Description copied from interface:JPQLQueryAdd sources to this query -
from
Description copied from interface:JPQLQueryAdd a query source -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target and alias. -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target and alias. -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
innerJoin
Description copied from interface:JPQLQueryCreate a inner join with the given target and alias. -
join
Description copied from interface:JPQLQueryCreate a join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
join
Description copied from interface:JPQLQueryCreate a join with the given target Use fetchJoin() to add the fetchJoin parameter to this join -
join
Description copied from interface:JPQLQueryCreate a join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
join
Description copied from interface:JPQLQueryCreate a join with the given target and alias. -
join
Description copied from interface:JPQLQueryCreate a join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
join
Description copied from interface:JPQLQueryCreate a join with the given target and alias. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target and alias. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target and alias. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
leftJoin
Description copied from interface:JPQLQueryCreate a left join with the given target and alias. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target and alias. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target and alias. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target. Use fetchJoin() to add the fetchJoin parameter to this join. -
rightJoin
Description copied from interface:JPQLQueryCreate a right join with the given target and alias. -
on
-
on
Description copied from interface:JPQLQueryAdd join conditions to the last added join -
toString
-
clone
-