| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.support.QueryBase<Q>
com.mysema.query.support.ProjectableQuery<Q>
com.mysema.query.jdo.AbstractJDOQLQuery<Q>
Q - public abstract class AbstractJDOQLQuery<Q extends AbstractJDOQLQuery<Q>>
Abstract base class for custom implementations of the JDOQLQuery interface.
| Field Summary | |
|---|---|
protected  Set<String> | 
fetchGroups
 | 
protected  Integer | 
maxFetchDepth
 | 
| Fields inherited from class com.mysema.query.support.QueryBase | 
|---|
queryMixin | 
| Constructor Summary | |
|---|---|
AbstractJDOQLQuery(javax.jdo.PersistenceManager persistenceManager)
 | 
|
AbstractJDOQLQuery(javax.jdo.PersistenceManager persistenceManager,
                   JDOQLTemplates templates,
                   QueryMetadata metadata,
                   boolean detach)
 | 
|
| Method Summary | ||
|---|---|---|
 Q | 
addFetchGroup(String fetchGroupName)
 | 
|
 void | 
close()
 | 
|
 long | 
count()
return the amount of matched rows  | 
|
 boolean | 
exists()
 | 
|
 Q | 
from(EntityPath<?>... args)
 | 
|
 QueryMetadata | 
getMetadata()
 | 
|
 JDOQLTemplates | 
getTemplates()
 | 
|
 boolean | 
isDetach()
 | 
|
 com.mysema.commons.lang.CloseableIterator<Object[]> | 
iterate(Expression<?>[] args)
iterate over the results for the given projection  | 
|
 | 
iterate(Expression<RT> projection)
iterate over the results for the given projection  | 
|
 List<Object[]> | 
list(Expression<?>[] args)
list the results for the given projection An empty list is returned for no results.  | 
|
 | 
list(Expression<RT> expr)
list the results for the given projection An empty list is returned for no results.  | 
|
 | 
listResults(Expression<RT> expr)
list the results for the given projection  | 
|
protected  void | 
logQuery(String queryString)
 | 
|
 Q | 
setMaxFetchDepth(int depth)
 | 
|
 String | 
toString()
 | 
|
 Object[] | 
uniqueResult(Expression<?>[] args)
return a unique result for the given projection or null if no result is found  | 
|
 | 
uniqueResult(Expression<RT> expr)
return a unique result for the given projection or null if no result is found  | 
|
| Methods inherited from class com.mysema.query.support.ProjectableQuery | 
|---|
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, singleResult, singleResult, singleResult, transform, uniqueResult, uniqueResult | 
| Methods inherited from class com.mysema.query.support.QueryBase | 
|---|
distinct, groupBy, having, limit, offset, orderBy, restrict, set, where | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected final Set<String> fetchGroups
@Nullable protected Integer maxFetchDepth
| Constructor Detail | 
|---|
public AbstractJDOQLQuery(@Nullable
                          javax.jdo.PersistenceManager persistenceManager)
public AbstractJDOQLQuery(@Nullable
                          javax.jdo.PersistenceManager persistenceManager,
                          JDOQLTemplates templates,
                          QueryMetadata metadata,
                          boolean detach)
| Method Detail | 
|---|
public Q addFetchGroup(String fetchGroupName)
public void close()
public long count()
Projectable
public boolean exists()
protected void logQuery(String queryString)
public Q from(EntityPath<?>... args)
public QueryMetadata getMetadata()
public JDOQLTemplates getTemplates()
public boolean isDetach()
public com.mysema.commons.lang.CloseableIterator<Object[]> iterate(Expression<?>[] args)
Projectable
public <RT> com.mysema.commons.lang.CloseableIterator<RT> iterate(Expression<RT> projection)
Projectable
RT - generic type of the Iterator
public List<Object[]> list(Expression<?>[] args)
Projectable
list in interface Projectablelist in class ProjectableQuery<Q extends AbstractJDOQLQuery<Q>>public <RT> List<RT> list(Expression<RT> expr)
Projectable
list in interface Projectablelist in class ProjectableQuery<Q extends AbstractJDOQLQuery<Q>>RT - generic type of the List
public <RT> SearchResults<RT> listResults(Expression<RT> expr)
Projectable
public Q setMaxFetchDepth(int depth)
public String toString()
toString in class QueryBase<Q extends AbstractJDOQLQuery<Q>>@Nullable public <RT> RT uniqueResult(Expression<RT> expr)
ProjectableThere is some ambiguity for missing results and null valued results, for disambiguation and your own projection methods.
RT - return type
@Nullable public Object[] uniqueResult(Expression<?>[] args)
ProjectableThere is some ambiguity for missing results and null valued results, for disambiguation and your own projection methods.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||