|
||||||||||
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.QueryBaseWithProjection<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 |
---|
_this |
Constructor Summary | |
---|---|
AbstractJDOQLQuery(QueryMetadata md,
javax.jdo.PersistenceManager pm,
JDOQLTemplates templates)
|
Method Summary | ||
---|---|---|
protected SubType |
addToProjection(Expr<?>... o)
|
|
void |
close()
|
|
long |
count()
return the amount of matched rows |
|
SubType |
from(PEntity<?>... args)
|
|
Iterator<Object[]> |
iterate(Expr<?> e1,
Expr<?> e2,
Expr<?>... rest)
iterate over the results for the given projection |
|
|
iterate(Expr<RT> projection)
iterate over the results for the given projection |
|
List<Object[]> |
list(Expr<?> expr1,
Expr<?> expr2,
Expr<?>... rest)
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.QueryBaseWithProjection |
---|
asArray, countDistinct, iterateDistinct, iterateDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult |
Methods inherited from class com.mysema.query.QueryBase |
---|
getMetadata, 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, iterateDistinct, iterateDistinct, listDistinct, listDistinct, listDistinctResults, map, uniqueResult |
Constructor Detail |
---|
public AbstractJDOQLQuery(QueryMetadata md, javax.jdo.PersistenceManager pm, JDOQLTemplates templates)
Method Detail |
---|
protected SubType addToProjection(Expr<?>... o)
addToProjection
in class QueryBase<SubType extends AbstractJDOQLQuery<SubType>>
public SubType from(PEntity<?>... args)
public long count()
Projectable
count
in interface Projectable
public Iterator<Object[]> iterate(Expr<?> e1, Expr<?> e2, Expr<?>... rest)
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<?> expr1, Expr<?> expr2, Expr<?>... rest)
Projectable
list
in interface Projectable
list
in class QueryBaseWithProjection<SubType extends AbstractJDOQLQuery<SubType>>
rest
- rest
public <RT> List<RT> list(Expr<RT> expr)
Projectable
list
in interface Projectable
list
in class QueryBaseWithProjection<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 QueryBaseWithProjection<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 |