|
||||||||||
| 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 |
|---|
| 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 |
|
|
list(Expression<RT> expr)
list the results for the given projection |
|
|
listResults(Expression<RT> expr)
list the results for the given projection |
|
protected void |
logQuery(String queryString)
|
|
Q |
setMaxFetchDepth(int depth)
|
|
String |
toString()
|
|
|
uniqueResult(Expression<RT> expr)
return a unique result for the given projection |
|
| Methods inherited from class com.mysema.query.support.ProjectableQuery |
|---|
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, notExists, 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 |
| 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)
Projectable
uniqueResult in interface ProjectableuniqueResult in class ProjectableQuery<Q extends AbstractJDOQLQuery<Q>>RT - return type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||