|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.QueryBase<SubType>
com.mysema.query.support.ProjectableQuery<SubType>
com.mysema.query.jdoql.AbstractJDOQLQuery<SubType>
SubType
- public abstract class AbstractJDOQLQuery<SubType extends AbstractJDOQLQuery<SubType>>
Abstract base class for custom implementations of the JDOQLQuery interface.
Field Summary |
---|
Fields inherited from class com.mysema.query.QueryBase |
---|
queryMixin |
Constructor Summary | |
---|---|
AbstractJDOQLQuery(javax.jdo.PersistenceManager persistenceManager,
JDOQLTemplates templates,
boolean detach)
|
Method Summary | ||
---|---|---|
void |
close()
|
|
long |
count()
return the amount of matched rows |
|
SubType |
from(PEntity<?>... args)
|
|
Iterator<Object[]> |
iterate(Expr<?>[] args)
iterate over the results for the given projection |
|
|
iterate(Expr<RT> projection)
iterate over the results for the given projection |
|
List<Object[]> |
list(Expr<?>[] args)
list the results for the given projection |
|
|
list(Expr<RT> expr)
list the results for the given projection |
|
|
listResults(Expr<RT> expr)
list the results for the given projection |
|
String |
toString()
|
|
|
uniqueResult(Expr<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, uniqueResult, uniqueResult |
Methods inherited from class com.mysema.query.QueryBase |
---|
groupBy, having, limit, offset, orderBy, restrict, where |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.Projectable |
---|
countDistinct, iterate, iterateDistinct, iterateDistinct, iterateDistinct, list, listDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult, uniqueResult |
Constructor Detail |
---|
public AbstractJDOQLQuery(javax.jdo.PersistenceManager persistenceManager, JDOQLTemplates templates, boolean detach)
Method Detail |
---|
public SubType from(PEntity<?>... args)
public long count()
Projectable
count
in interface Projectable
public Iterator<Object[]> iterate(Expr<?>[] args)
Projectable
iterate
in interface Projectable
public <RT> Iterator<RT> iterate(Expr<RT> projection)
Projectable
iterate
in interface Projectable
RT
- generic type of the Iteratpr
public List<Object[]> list(Expr<?>[] args)
Projectable
list
in interface Projectable
list
in class ProjectableQuery<SubType extends AbstractJDOQLQuery<SubType>>
public <RT> List<RT> list(Expr<RT> expr)
Projectable
list
in interface Projectable
list
in class ProjectableQuery<SubType extends AbstractJDOQLQuery<SubType>>
RT
- generic type of the List
public <RT> SearchResults<RT> listResults(Expr<RT> expr)
Projectable
listResults
in interface Projectable
public <RT> RT uniqueResult(Expr<RT> expr)
Projectable
uniqueResult
in interface Projectable
uniqueResult
in class ProjectableQuery<SubType extends AbstractJDOQLQuery<SubType>>
RT
- return type
public void close() throws IOException
IOException
public String toString()
toString
in class QueryBase<SubType extends AbstractJDOQLQuery<SubType>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |