Q - concrete subtypepublic class AbstractJPASubQuery<Q extends AbstractJPASubQuery<Q>> extends DetachableQuery<Q> implements JPQLSubQuery
MDC_PARAMETERS, MDC_QUERY| Constructor and Description | 
|---|
| AbstractJPASubQuery() | 
| AbstractJPASubQuery(QueryMetadata metadata) | 
| Modifier and Type | Method and Description | 
|---|---|
| NumberSubQuery<Long> | count()Return the count of matched rows as a sub query | 
| <P> Q | from(CollectionExpression<?,P> target,
    Path<P> alias) | 
| Q | from(EntityPath<?>... o)Set the sources of this query | 
| Q | from(EntityPath<?> o) | 
| <P> Q | fullJoin(CollectionExpression<?,P> target)Deprecated.  | 
| <P> Q | fullJoin(CollectionExpression<?,P> target,
        Path<P> alias)Deprecated.  | 
| <P> Q | fullJoin(EntityPath<P> target)Deprecated.  | 
| <P> Q | fullJoin(EntityPath<P> target,
        Path<P> alias)Deprecated.  | 
| <P> Q | fullJoin(MapExpression<?,P> target)Deprecated.  | 
| <P> Q | fullJoin(MapExpression<?,P> target,
        Path<P> alias)Deprecated.  | 
| <P> Q | innerJoin(CollectionExpression<?,P> target)Create a inner join with the given target. | 
| <P> Q | innerJoin(CollectionExpression<?,P> target,
         Path<P> alias)Create a inner join with the given target and alias. | 
| <P> Q | innerJoin(EntityPath<P> target)Create a inner join with the given target. | 
| <P> Q | innerJoin(EntityPath<P> target,
         Path<P> alias)Create a inner join with the given target and alias. | 
| <P> Q | innerJoin(MapExpression<?,P> target)Create a inner join with the given target. | 
| <P> Q | innerJoin(MapExpression<?,P> target,
         Path<P> alias)Create a inner join with the given target and alias. | 
| <P> Q | join(CollectionExpression<?,P> target)Create a join with the given target. | 
| <P> Q | join(CollectionExpression<?,P> target,
    Path<P> alias) | 
| <P> Q | join(EntityPath<P> target)Create a join with the given target. | 
| <P> Q | join(EntityPath<P> target,
    Path<P> alias)Create a join with the given target and alias. | 
| <P> Q | join(MapExpression<?,P> target)Create a join with the given target. | 
| <P> Q | join(MapExpression<?,P> target,
    Path<P> alias)Create a join with the given target and alias. | 
| <P> Q | leftJoin(CollectionExpression<?,P> target)Create a left join with the given target. | 
| <P> Q | leftJoin(CollectionExpression<?,P> target,
        Path<P> alias)Create a left join with the given target and alias. | 
| <P> Q | leftJoin(EntityPath<P> target)Create a left join with the given target. | 
| <P> Q | leftJoin(EntityPath<P> target,
        Path<P> alias)Create a left join with the given target and alias. | 
| <P> Q | leftJoin(MapExpression<?,P> target)Create a left join with the given target. | 
| <P> Q | leftJoin(MapExpression<?,P> target,
        Path<P> alias)Create a left join with the given target and alias. | 
| Q | limit(long l)Deprecated.  | 
| Q | offset(long o)Deprecated.  | 
| Q | on(Predicate... conditions)Add join conditions to the last added join | 
| Q | on(Predicate condition) | 
| Q | orderBy(OrderSpecifier<?>... o)Deprecated.  | 
| Q | orderBy(OrderSpecifier<?> o)Deprecated.  | 
| <P> Q | rightJoin(CollectionExpression<?,P> target)Create a right join with the given target. | 
| <P> Q | rightJoin(CollectionExpression<?,P> target,
         Path<P> alias)Create a right join with the given target and alias. | 
| <P> Q | rightJoin(EntityPath<P> target)Create a right join with the given target. | 
| <P> Q | rightJoin(EntityPath<P> target,
         Path<P> alias)Create a right join with the given target and alias. | 
| <P> Q | rightJoin(MapExpression<?,P> target)Create a right join with the given target. | 
| <P> Q | rightJoin(MapExpression<?,P> target,
         Path<P> alias)Create a right join with the given target and alias. | 
| String | toString() | 
exists, list, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, equals, groupBy, groupBy, hashCode, having, having, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitexists, list, list, list, notExists, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, restrict, setwherepublic AbstractJPASubQuery()
public AbstractJPASubQuery(QueryMetadata metadata)
public NumberSubQuery<Long> count()
DetachableUsage
query.where(subQuery.from(customer).where(...).count().gt(1)) count in interface Detachablecount in class DetachableQuery<Q extends AbstractJPASubQuery<Q>>public Q from(EntityPath<?> o)
public Q from(EntityPath<?>... o)
JPACommonQueryfrom in interface JPACommonQuery<JPQLSubQuery>public <P> Q from(CollectionExpression<?,P> target, Path<P> alias)
from in interface JPQLSubQuery@Deprecated public <P> Q fullJoin(CollectionExpression<?,P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>@Deprecated public <P> Q fullJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>@Deprecated public <P> Q fullJoin(EntityPath<P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>@Deprecated public <P> Q fullJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>@Deprecated public <P> Q fullJoin(MapExpression<?,P> target)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>@Deprecated public <P> Q fullJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryfullJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(CollectionExpression<?,P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(EntityPath<P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(MapExpression<?,P> target)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q innerJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryinnerJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(CollectionExpression<?,P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(CollectionExpression<?,P> target, Path<P> alias)
join in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(EntityPath<P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(EntityPath<P> target, Path<P> alias)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(MapExpression<?,P> target)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q join(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryjoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(CollectionExpression<?,P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(EntityPath<P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(MapExpression<?,P> target)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q leftJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryleftJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(CollectionExpression<?,P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(CollectionExpression<?,P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(EntityPath<P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(EntityPath<P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(MapExpression<?,P> target)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public <P> Q rightJoin(MapExpression<?,P> target, Path<P> alias)
JPACommonQueryrightJoin in interface JPACommonQuery<JPQLSubQuery>public Q on(Predicate... conditions)
JPACommonQueryon in interface JPACommonQuery<JPQLSubQuery>@Deprecated public Q limit(long l)
QueryBaselimit in interface SimpleQuery<JPQLSubQuery>limit in class QueryBase<Q extends AbstractJPASubQuery<Q>>@Deprecated public Q offset(long o)
QueryBaseoffset in interface SimpleQuery<JPQLSubQuery>offset in class QueryBase<Q extends AbstractJPASubQuery<Q>>@Deprecated public Q orderBy(OrderSpecifier<?> o)
QueryBaseorderBy in class QueryBase<Q extends AbstractJPASubQuery<Q>>@Deprecated public Q orderBy(OrderSpecifier<?>... o)
QueryBaseorderBy in interface SimpleQuery<JPQLSubQuery>orderBy in class QueryBase<Q extends AbstractJPASubQuery<Q>>Copyright © 2007–2015 Querydsl. All rights reserved.