T
- result typepublic class JDOQuery<T> extends AbstractJDOQuery<T,JDOQuery<T>>
JDOQuery
is the default implementation of the JDOQLQuery
interfacefetchGroups, maxFetchDepth
MDC_PARAMETERS, MDC_QUERY, queryMixin
Modifier | Constructor and Description |
---|---|
|
JDOQuery()
Create a detached
JDOQuery instance
The query can be attached via the clone method |
|
JDOQuery(javax.jdo.PersistenceManager persistenceManager)
Create a new
JDOQuery instance |
|
JDOQuery(javax.jdo.PersistenceManager persistenceManager,
boolean detach)
Create a new
JDOQuery instance |
|
JDOQuery(javax.jdo.PersistenceManager persistenceManager,
JDOQLTemplates templates,
boolean detach)
Create a new
JDOQuery instance |
protected |
JDOQuery(javax.jdo.PersistenceManager persistenceManager,
JDOQLTemplates templates,
QueryMetadata metadata,
boolean detach)
Create a new
JDOQuery instance |
Modifier and Type | Method and Description |
---|---|
JDOQuery<T> |
clone(javax.jdo.PersistenceManager persistenceManager)
Clone the state of this query to a new
JDOQuery instance with the given PersistenceManager |
JDOQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> JDOQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
addFetchGroup, cleanupMDC, close, fetch, fetchCount, fetchOne, fetchResults, from, from, getTemplates, isDetach, iterate, logQuery, setMaxFetchDepth, toString
accept, contains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists
equals, fetchFirst, transform, uniqueResult
distinct, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, restrict, set, where, where
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
transform
fetchFirst
distinct, limit, offset, orderBy, restrict, set
where
contains, contains, eq, eq, exists, goe, goe, gt, gt, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExists
getMetadata
accept, getType
public JDOQuery()
JDOQuery
instance
The query can be attached via the clone methodpublic JDOQuery(javax.jdo.PersistenceManager persistenceManager, JDOQLTemplates templates, boolean detach)
JDOQuery
instancepersistenceManager
- PersistenceManager instance to usetemplates
- JDOQLTemplates to usedetach
- detached results or notpublic JDOQuery(javax.jdo.PersistenceManager persistenceManager, boolean detach)
JDOQuery
instancepersistenceManager
- PersistenceManager instance to usedetach
- detached results or notpublic JDOQuery(javax.jdo.PersistenceManager persistenceManager)
JDOQuery
instancepersistenceManager
- PersistenceManager instance to useprotected JDOQuery(javax.jdo.PersistenceManager persistenceManager, JDOQLTemplates templates, QueryMetadata metadata, boolean detach)
JDOQuery
instancepersistenceManager
- PersistenceManager instance to usetemplates
- templates to usemetadata
- query metadatadetach
- detached results or notpublic JDOQuery<T> clone(javax.jdo.PersistenceManager persistenceManager)
JDOQuery
instance with the given PersistenceManager
persistenceManager
- PersistenceManager instance to usepublic <U> JDOQuery<U> select(Expression<U> expr)
FetchableQuery
expr
- new projectionpublic JDOQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.