T
- result typepublic final class JDOSQLQuery<T> extends AbstractSQLQuery<T,JDOSQLQuery<T>>
JDOSQLQuery
is a SQLQuery
implementation that uses JDO's SQL query functionality
to execute queriesdetach, persistenceManager, projection, queries, queryMixin
configuration, firstUnionSubQuery, union, unionAll
MDC_PARAMETERS, MDC_QUERY
Constructor and Description |
---|
JDOSQLQuery(javax.jdo.PersistenceManager persistenceManager,
Configuration configuration) |
JDOSQLQuery(javax.jdo.PersistenceManager persistenceManager,
Configuration configuration,
QueryMetadata metadata,
boolean detach) |
JDOSQLQuery(javax.jdo.PersistenceManager persistenceManager,
SQLTemplates templates) |
Modifier and Type | Method and Description |
---|---|
JDOSQLQuery<T> |
clone() |
protected SQLSerializer |
createSerializer() |
JDOSQLQuery<Tuple> |
select(Expression<?>... exprs)
Change the projection of this query
|
<U> JDOSQLQuery<U> |
select(Expression<U> expr)
Change the projection of this query
|
close, fetch, fetchCount, fetchOne, fetchResults, isDetach, iterate, toString
accept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, clone, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, serialize, union, union, union, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursive
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
finalize, getClass, notify, notifyAll, wait, wait, wait
distinct, limit, offset, orderBy, restrict, set
where
transform
fetchFirst
public JDOSQLQuery(@Nullable javax.jdo.PersistenceManager persistenceManager, SQLTemplates templates)
public JDOSQLQuery(@Nullable javax.jdo.PersistenceManager persistenceManager, Configuration configuration)
public JDOSQLQuery(@Nullable javax.jdo.PersistenceManager persistenceManager, Configuration configuration, QueryMetadata metadata, boolean detach)
public JDOSQLQuery<T> clone()
clone
in class ProjectableSQLQuery<T,JDOSQLQuery<T>>
protected SQLSerializer createSerializer()
createSerializer
in class ProjectableSQLQuery<T,JDOSQLQuery<T>>
public <U> JDOSQLQuery<U> select(Expression<U> expr)
FetchableQuery
expr
- new projectionpublic JDOSQLQuery<Tuple> select(Expression<?>... exprs)
FetchableQuery
exprs
- new projectionCopyright © 2007–2016 Querydsl. All rights reserved.