public class JDOSubQuery extends AbstractJDOSubQuery<JDOSubQuery>
MDC_PARAMETERS, MDC_QUERY, queryMixin| Constructor and Description | 
|---|
| JDOSubQuery() | 
| JDOSubQuery(QueryMetadata metadata) | 
| Modifier and Type | Method and Description | 
|---|---|
| NumberSubQuery<Long> | count()Return the count of matched rows as a sub query | 
| BooleanExpression | exists()Create an exists(this) expression | 
| BooleanExpression | notExists()Create an not exists(this) expression | 
from, from, from, toStringlist, list, list, list, unique, unique, unique, unique, unique, unique, unique, unique, unique, uniquedistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwherepublic JDOSubQuery()
public JDOSubQuery(QueryMetadata metadata)
public BooleanExpression exists()
DetachableUsage
query.where(subQuery.from(customer).where(...).exists()) exists in interface Detachableexists in class DetachableQuery<JDOSubQuery>public BooleanExpression notExists()
DetachableUsage
query.where(subQuery.from(customer).where(...).notExists()) notExists in interface DetachablenotExists in class DetachableQuery<JDOSubQuery>public NumberSubQuery<Long> count()
DetachableUsage
query.where(subQuery.from(customer).where(...).count().gt(1)) count in interface Detachablecount in class DetachableQuery<JDOSubQuery>Copyright © 2007–2015 Querydsl. All rights reserved.