| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleProjectable<T>
SimpleProjectable defines a simpler projection interface than Projectable.
Projectable| Method Summary | |
|---|---|
 long | 
count()
Get the count of matched elements  | 
 long | 
countDistinct()
Get the count of distinct matched elements  | 
 boolean | 
exists()
 | 
 com.mysema.commons.lang.CloseableIterator<T> | 
iterate()
Get the projection as a typed closeable Iterator  | 
 com.mysema.commons.lang.CloseableIterator<T> | 
iterateDistinct()
Get the projection as a typed closeable Iterator with distinct elements  | 
 List<T> | 
list()
Get the projection as a typed List  | 
 List<T> | 
listDistinct()
Get the projection as a typed List with distinct elements  | 
 SearchResults<T> | 
listDistinctResults()
Get the projection in SearchResults form with distinct element | 
 SearchResults<T> | 
listResults()
Get the projection in SearchResults form | 
 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  | 
| Method Detail | 
|---|
boolean exists()
boolean notExists()
com.mysema.commons.lang.CloseableIterator<T> iterate()
com.mysema.commons.lang.CloseableIterator<T> iterateDistinct()
List<T> list()
List<T> listDistinct()
@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 form
SearchResults<T> listDistinctResults()
SearchResults form with distinct element
long count()
long countDistinct()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||