T - public abstract class AbstractSQLQuery<T extends AbstractSQLQuery<T>> extends ProjectableSQLQuery<T>
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | detach | 
| protected javax.jdo.PersistenceManager | persistenceManager | 
| protected FactoryExpression<?> | projection | 
| protected List<javax.jdo.Query> | queries | 
| protected QueryMixin<T> | queryMixin | 
configuration, firstUnionSubQuery, union, unionAllMDC_PARAMETERS, MDC_QUERY| Constructor and Description | 
|---|
| AbstractSQLQuery(QueryMetadata metadata,
                Configuration conf,
                javax.jdo.PersistenceManager persistenceManager,
                boolean detach) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| long | count()return the amount of matched rows | 
| QueryMetadata | getMetadata() | 
| boolean | isDetach() | 
| com.mysema.commons.lang.CloseableIterator<Tuple> | iterate(Expression<?>... args)iterate over the results for the given projection | 
| <RT> com.mysema.commons.lang.CloseableIterator<RT> | iterate(Expression<RT> projection)iterate over the results for the given projection | 
| List<Tuple> | list(Expression<?>... args)list the results for the given projection
 
 An empty list is returned for no results. | 
| <RT> List<RT> | list(Expression<RT> expr)list the results for the given projection
 
 An empty list is returned for no results. | 
| SearchResults<Tuple> | listResults(Expression<?>... args)list the results for the given projection | 
| <RT> SearchResults<RT> | listResults(Expression<RT> expr)list the results for the given projection | 
| String | toString() | 
| Tuple | uniqueResult(Expression<?>... args)return a unique result for the given projection or null if no result is found | 
| <RT> RT | uniqueResult(Expression<RT> expr)return a unique result for the given projection or null if no result is found | 
addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, clone, clone, createSerializer, exists, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, on, on, rightJoin, rightJoin, rightJoin, rightJoin, serialize, union, union, union, union, unionAll, unionAll, unionAll, unionAll, with, with, with, withRecursive, withRecursive, withRecursivemap, notExists, singleResult, singleResult, transform, uniqueResultdistinct, equals, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, where, wherefinalize, getClass, notify, notifyAll, wait, wait, waitdistinct, limit, offset, orderBy, restrict, setwhereprotected final boolean detach
@Nullable protected final javax.jdo.PersistenceManager persistenceManager
protected List<javax.jdo.Query> queries
@Nullable protected FactoryExpression<?> projection
protected final QueryMixin<T extends AbstractSQLQuery<T>> queryMixin
public AbstractSQLQuery(QueryMetadata metadata, Configuration conf, javax.jdo.PersistenceManager persistenceManager, boolean detach)
public void close()
public long count()
Projectablecount in interface Projectablecount in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>public QueryMetadata getMetadata()
getMetadata in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>public boolean isDetach()
public com.mysema.commons.lang.CloseableIterator<Tuple> iterate(Expression<?>... args)
Projectableiterate in interface Projectableiterate in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>public <RT> com.mysema.commons.lang.CloseableIterator<RT> iterate(Expression<RT> projection)
ProjectableRT - generic type of the Iteratorpublic List<Tuple> list(Expression<?>... args)
Projectablelist in interface Projectablelist in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>public <RT> List<RT> list(Expression<RT> expr)
Projectablelist in interface Projectablelist in class ProjectableQuery<T extends AbstractSQLQuery<T>>RT - generic type of the Listpublic SearchResults<Tuple> listResults(Expression<?>... args)
ProjectablelistResults in interface ProjectablelistResults in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>public <RT> SearchResults<RT> listResults(Expression<RT> expr)
Projectablepublic String toString()
toString in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>@Nullable public Tuple uniqueResult(Expression<?>... args)
ProjectableThere is some ambiguity for missing results and null valued results, for disambiguation use the list or iterate methods instead.
uniqueResult in interface ProjectableuniqueResult in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>@Nullable public <RT> RT uniqueResult(Expression<RT> expr)
ProjectableThere is some ambiguity for missing results and null valued results, for disambiguation use the list or iterate methods instead.
uniqueResult in interface ProjectableuniqueResult in class ProjectableSQLQuery<T extends AbstractSQLQuery<T>>RT - return typeCopyright © 2007–2015 Querydsl. All rights reserved.