com.mysema.query.jdo
Class JDOQLSubQuery

java.lang.Object
  extended by com.mysema.query.support.QueryBase<Q>
      extended by com.mysema.query.support.DetachableQuery<Q>
          extended by com.mysema.query.jdo.AbstractJDOQLSubQuery<JDOQLSubQuery>
              extended by com.mysema.query.jdo.JDOQLSubQuery
All Implemented Interfaces:
FilteredClause<JDOQLSubQuery>, JDOQLCommonQuery<JDOQLSubQuery>, Query<JDOQLSubQuery>, SimpleQuery<JDOQLSubQuery>, Detachable

public class JDOQLSubQuery
extends AbstractJDOQLSubQuery<JDOQLSubQuery>
implements JDOQLCommonQuery<JDOQLSubQuery>

JDOQLSubQuery is subquery implementation for JDOQL

Author:
tiwe

Field Summary
 
Fields inherited from class com.mysema.query.support.QueryBase
queryMixin
 
Constructor Summary
JDOQLSubQuery()
           
JDOQLSubQuery(QueryMetadata metadata)
           
 
Method Summary
 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
 
Methods inherited from class com.mysema.query.jdo.AbstractJDOQLSubQuery
from, from, toString
 
Methods inherited from class com.mysema.query.support.DetachableQuery
list, list, list, list, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique, unique
 
Methods inherited from class com.mysema.query.support.QueryBase
distinct, equals, groupBy, hashCode, having, limit, offset, orderBy, restrict, set, where
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.jdo.JDOQLCommonQuery
from
 
Methods inherited from interface com.mysema.query.Query
groupBy, having
 
Methods inherited from interface com.mysema.query.SimpleQuery
distinct, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 

Constructor Detail

JDOQLSubQuery

public JDOQLSubQuery()

JDOQLSubQuery

public JDOQLSubQuery(QueryMetadata metadata)
Method Detail

exists

public BooleanExpression exists()
Description copied from interface: Detachable
Create an exists(this) expression

Specified by:
exists in interface Detachable
Overrides:
exists in class DetachableQuery<JDOQLSubQuery>
Returns:

notExists

public BooleanExpression notExists()
Description copied from interface: Detachable
Create an not exists(this) expression

Specified by:
notExists in interface Detachable
Overrides:
notExists in class DetachableQuery<JDOQLSubQuery>
Returns:

count

public NumberSubQuery<Long> count()
Description copied from interface: Detachable
Return the count of matched rows as a sub query

Specified by:
count in interface Detachable
Overrides:
count in class DetachableQuery<JDOQLSubQuery>
Returns:


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.