|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.support.SimpleQueryAdapter<T>
T - public class SimpleQueryAdapter<T>
| Constructor Summary | |
|---|---|
SimpleQueryAdapter(Q query,
Expr<T> projection)
|
|
SimpleQueryAdapter(Query<?> query,
Projectable projectable,
Expr<T> projection)
|
|
| Method Summary | |
|---|---|
long |
count()
|
long |
countDistinct()
|
SimpleQueryAdapter<T> |
limit(long limit)
Defines the limit / max results for the query results |
List<T> |
list()
|
List<T> |
listDistinct()
|
SearchResults<T> |
listDistinctResults()
|
SearchResults<T> |
listResults()
|
SimpleQueryAdapter<T> |
offset(long offset)
Defines the offset for the query results |
SimpleQueryAdapter<T> |
orderBy(OrderSpecifier<?>... o)
Defines the order expressions |
SimpleQueryAdapter<T> |
restrict(QueryModifiers modifiers)
Defines both limit and offset of the query results |
String |
toString()
|
T |
uniqueResult()
|
SimpleQueryAdapter<T> |
where(EBoolean... e)
Defines the filter constraints |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleQueryAdapter(Q query,
Expr<T> projection)
public SimpleQueryAdapter(Query<?> query,
Projectable projectable,
Expr<T> projection)
| Method Detail |
|---|
public long count()
count in interface SimpleProjectable<T>public long countDistinct()
countDistinct in interface SimpleProjectable<T>public SimpleQueryAdapter<T> limit(long limit)
SimpleQuery
limit in interface SimpleQuery<SimpleQueryAdapter<T>>public List<T> list()
list in interface SimpleProjectable<T>public List<T> listDistinct()
listDistinct in interface SimpleProjectable<T>public SearchResults<T> listDistinctResults()
listDistinctResults in interface SimpleProjectable<T>public SearchResults<T> listResults()
listResults in interface SimpleProjectable<T>public SimpleQueryAdapter<T> offset(long offset)
SimpleQuery
offset in interface SimpleQuery<SimpleQueryAdapter<T>>public SimpleQueryAdapter<T> orderBy(OrderSpecifier<?>... o)
SimpleQuery
orderBy in interface SimpleQuery<SimpleQueryAdapter<T>>public SimpleQueryAdapter<T> restrict(QueryModifiers modifiers)
SimpleQuery
restrict in interface SimpleQuery<SimpleQueryAdapter<T>>public String toString()
toString in class Objectpublic T uniqueResult()
uniqueResult in interface SimpleProjectable<T>public SimpleQueryAdapter<T> where(EBoolean... e)
SimpleQuery
where in interface SimpleQuery<SimpleQueryAdapter<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||