T - result typeQ - concrete subtypepublic abstract class FetchableQueryBase<T,Q extends FetchableQueryBase<T,Q>> extends QueryBase<Q> implements Fetchable<T>
FetchableQueryBase extends the QueryBase class to provide default
 implementations of the methods of the Fetchable interfaceMDC_PARAMETERS, MDC_QUERY, queryMixin| Constructor and Description | 
|---|
FetchableQueryBase(QueryMixin<Q> queryMixin)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object o)  | 
java.util.List<T> | 
fetch()
Get the projection as a typed List 
 | 
T | 
fetchFirst()
Get the first result of Get the projection or null if no result is found 
 | 
<T> T | 
transform(ResultTransformer<T> transformer)  | 
protected <T> T | 
uniqueResult(com.mysema.commons.lang.CloseableIterator<T> it)  | 
distinct, groupBy, groupBy, hashCode, having, having, limit, offset, orderBy, orderBy, restrict, set, toString, where, whereclone, finalize, getClass, notify, notifyAll, wait, wait, waitfetchCount, fetchOne, fetchResults, iterate, streampublic FetchableQueryBase(QueryMixin<Q> queryMixin)
public java.util.List<T> fetch()
Fetchablepublic final T fetchFirst()
FetchablefetchFirst in interface Fetchable<T>public <T> T transform(ResultTransformer<T> transformer)
@Nullable protected <T> T uniqueResult(com.mysema.commons.lang.CloseableIterator<T> it)
Copyright © 2007–2021 Querydsl. All rights reserved.