com.mysema.query.jdo
Interface JDOQLQuery

All Superinterfaces:
Closeable, FilteredClause<JDOQLQuery>, JDOQLCommonQuery<JDOQLQuery>, Projectable, Query<JDOQLQuery>
All Known Implementing Classes:
JDOQLQueryImpl

public interface JDOQLQuery
extends JDOQLCommonQuery<JDOQLQuery>, Projectable, Closeable

Query interface for JDOQL queries

Author:
tiwe

Method Summary
 JDOQLQuery addFetchGroup(String fetchGroupName)
          Add the fetch group to the set of active fetch groups.
 JDOQLQuery clone(javax.jdo.PersistenceManager persistenceManager)
          Clone the state of the query for the given PersistenceManager
 void close()
          Close the query and related resources
 JDOQLQuery setMaxFetchDepth(int maxFetchDepth)
          Set the maximum fetch depth when fetching.
 
Methods inherited from interface com.mysema.query.jdo.JDOQLCommonQuery
from
 
Methods inherited from interface com.mysema.query.Query
distinct, groupBy, having, limit, offset, orderBy, restrict, set
 
Methods inherited from interface com.mysema.query.FilteredClause
where
 
Methods inherited from interface com.mysema.query.Projectable
count, countDistinct, exists, iterate, iterate, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, list, list, listDistinct, listDistinct, listDistinct, listDistinctResults, listResults, map, notExists, singleResult, singleResult, singleResult, uniqueResult, uniqueResult, uniqueResult
 

Method Detail

clone

JDOQLQuery clone(javax.jdo.PersistenceManager persistenceManager)
Clone the state of the query for the given PersistenceManager

Parameters:
persistenceManager -
Returns:

addFetchGroup

JDOQLQuery addFetchGroup(String fetchGroupName)
Add the fetch group to the set of active fetch groups.

Parameters:
string -
Returns:

setMaxFetchDepth

JDOQLQuery setMaxFetchDepth(int maxFetchDepth)
Set the maximum fetch depth when fetching. A value of 0 has no meaning and will throw a JDOUserException. A value of -1 means that no limit is placed on fetching. A positive integer will result in that number of references from the initial object to be fetched.

Parameters:
maxFetchDepth -
Returns:

close

void close()
Close the query and related resources

Specified by:
close in interface Closeable


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