T - result typeQ - concrete subclasspublic abstract class AbstractSQLQuery<T,Q extends AbstractSQLQuery<T,Q>> extends ProjectableSQLQuery<T,Q>
SQLQuery implementations| 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<Q> |
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()
Close the query and related resources
|
List<T> |
fetch() |
long |
fetchCount() |
T |
fetchOne() |
QueryResults<T> |
fetchResults() |
boolean |
isDetach() |
com.mysema.commons.lang.CloseableIterator<T> |
iterate() |
String |
toString() |
accept, addFlag, addFlag, addFlag, addFlag, addJoinFlag, addJoinFlag, clone, clone, createSerializer, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, getSQL, 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, withRecursivecontains, contains, eq, eq, exists, getMetadata, getType, goe, goe, gt, gt, hashCode, in, in, isNotNull, isNull, loe, loe, lt, lt, ne, ne, notExistsequals, fetchFirst, transform, uniqueResultfinalize, getClass, notify, notifyAll, wait, wait, waitselect, select, transformfetchFirstprotected final boolean detach
@Nullable protected final javax.jdo.PersistenceManager persistenceManager
protected List<javax.jdo.Query> queries
@Nullable protected FactoryExpression<?> projection
protected final QueryMixin<Q extends AbstractSQLQuery<T,Q>> queryMixin
public AbstractSQLQuery(QueryMetadata metadata, Configuration conf, javax.jdo.PersistenceManager persistenceManager, boolean detach)
public void close()
public long fetchCount()
fetchCount in interface Fetchable<T>fetchCount in class ProjectableSQLQuery<T,Q extends AbstractSQLQuery<T,Q>>public boolean isDetach()
public com.mysema.commons.lang.CloseableIterator<T> iterate()
public List<T> fetch()
fetch in interface Fetchable<T>fetch in class FetchableQueryBase<T,Q extends AbstractSQLQuery<T,Q>>public QueryResults<T> fetchResults()
public String toString()
toString in class ProjectableSQLQuery<T,Q extends AbstractSQLQuery<T,Q>>@Nullable public T fetchOne() throws NonUniqueResultException
fetchOne in interface Fetchable<T>fetchOne in class ProjectableSQLQuery<T,Q extends AbstractSQLQuery<T,Q>>NonUniqueResultExceptionCopyright © 2007–2020 Querydsl. All rights reserved.