|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.QueryBase<SubType>
com.mysema.query.support.ProjectableQuery<SubType>
public abstract class ProjectableQuery<SubType extends ProjectableQuery<SubType>>
ProjectableQuery extends the QueryBase class to provide default implementations of the methods of the Projectable interface
Field Summary |
---|
Fields inherited from class com.mysema.query.QueryBase |
---|
queryMixin |
Constructor Summary | |
---|---|
ProjectableQuery(QueryMixin<SubType> queryMixin)
|
Method Summary | ||
---|---|---|
long |
countDistinct()
return the amount of distinct matched rows |
|
Iterator<Object[]> |
iterate(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
iterate over the results for the given projection |
|
Iterator<Object[]> |
iterateDistinct(Expr<?>[] args)
iterate over the distinct results for the given projection |
|
Iterator<Object[]> |
iterateDistinct(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
iterate over the distinct results for the given projection |
|
|
iterateDistinct(Expr<RT> projection)
iterate over the distinct results for the given projection |
|
List<Object[]> |
list(Expr<?>[] args)
list the results for the given projection |
|
List<Object[]> |
list(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
list the results for the given projection |
|
|
list(Expr<RT> projection)
list the results for the given projection |
|
List<Object[]> |
listDistinct(Expr<?>[] args)
list the distinct results for the given projection |
|
List<Object[]> |
listDistinct(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
list the distinct results for the given projection |
|
|
listDistinct(Expr<RT> projection)
list the distinct results for the given projection |
|
|
listDistinctResults(Expr<RT> projection)
list the distinct results for the given projection |
|
|
map(Expr<K> key,
Expr<V> value)
return the given projection as a Map instance using key and value for Map population |
|
Object[] |
uniqueResult(Expr<?>[] args)
return a unique result for the given projection |
|
Object[] |
uniqueResult(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
return a unique result for the given projection |
|
|
uniqueResult(Expr<RT> expr)
return a unique result for the given projection |
Methods inherited from class com.mysema.query.QueryBase |
---|
groupBy, having, limit, offset, orderBy, restrict, toString, where |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.Projectable |
---|
count, iterate, iterate, listResults |
Constructor Detail |
---|
public ProjectableQuery(QueryMixin<SubType> queryMixin)
Method Detail |
---|
public long countDistinct()
Projectable
countDistinct
in interface Projectable
public final Iterator<Object[]> iterate(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
iterate
in interface Projectable
public final Iterator<Object[]> iterateDistinct(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
iterateDistinct
in interface Projectable
public final Iterator<Object[]> iterateDistinct(Expr<?>[] args)
Projectable
iterateDistinct
in interface Projectable
public final <RT> Iterator<RT> iterateDistinct(Expr<RT> projection)
Projectable
iterateDistinct
in interface Projectable
RT
- generic type of the Iteratpr
public final List<Object[]> list(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
list
in interface Projectable
rest
- rest
public List<Object[]> list(Expr<?>[] args)
Projectable
list
in interface Projectable
public <RT> List<RT> list(Expr<RT> projection)
Projectable
list
in interface Projectable
RT
- generic type of the List
public final List<Object[]> listDistinct(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
listDistinct
in interface Projectable
rest
- rest
public final List<Object[]> listDistinct(Expr<?>[] args)
Projectable
listDistinct
in interface Projectable
public final <RT> List<RT> listDistinct(Expr<RT> projection)
Projectable
listDistinct
in interface Projectable
RT
- generic type of the List
public final <RT> SearchResults<RT> listDistinctResults(Expr<RT> projection)
Projectable
listDistinctResults
in interface Projectable
public final <K,V> Map<K,V> map(Expr<K> key, Expr<V> value)
Projectable
map
in interface Projectable
public final Object[] uniqueResult(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
uniqueResult
in interface Projectable
public Object[] uniqueResult(Expr<?>[] args)
Projectable
uniqueResult
in interface Projectable
public <RT> RT uniqueResult(Expr<RT> expr)
Projectable
uniqueResult
in interface Projectable
RT
- return type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |