public interface SimpleProjectable<T>
Projectable.Projectable| Modifier and Type | Method and Description | 
|---|---|
| long | count()Get the count of matched elements | 
| boolean | exists() | 
| com.mysema.commons.lang.CloseableIterator<T> | iterate()Get the projection as a typed closeable Iterator | 
| List<T> | list()Get the projection as a typed List | 
| SearchResults<T> | listResults()Get the projection in  SearchResultsform | 
| boolean | notExists() | 
| T | singleResult()Get the projection as a single result or null if no result is found | 
| T | uniqueResult()Get the projection as a unique result or null if no result is found | 
boolean exists()
boolean notExists()
com.mysema.commons.lang.CloseableIterator<T> iterate()
@Nullable T singleResult()
for multiple results only the first one is returned
@Nullable T uniqueResult()
NonUniqueResultException - if there is more than one matching resultSearchResults<T> listResults()
SearchResults formlong count()
Copyright © 2007–2015 Querydsl. All rights reserved.