|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.support.ProjectableAdapter
public class ProjectableAdapter
ProjectableAdapter is an adapter implementation for the Projectable interface
Field Summary | |
---|---|
protected Projectable |
projectable
|
Constructor Summary | |
---|---|
ProjectableAdapter(Projectable projectable)
|
Method Summary | ||
---|---|---|
long |
count()
return the amount of matched rows |
|
long |
countDistinct()
return the amount of distinct matched rows |
|
Iterator<Object[]> |
iterate(Expr<?>[] args)
iterate over the results for the given projection |
|
Iterator<Object[]> |
iterate(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
iterate over the results for the given projection |
|
|
iterate(Expr<RT> projection)
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> expr)
list the distinct results for the given projection |
|
|
listResults(Expr<RT> expr)
list the 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 |
|
String |
toString()
|
|
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final Projectable projectable
Constructor Detail |
---|
public ProjectableAdapter(Projectable projectable)
Method Detail |
---|
public long count()
Projectable
count
in interface Projectable
public long countDistinct()
Projectable
countDistinct
in interface Projectable
public Iterator<Object[]> iterate(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
iterate
in interface Projectable
public Iterator<Object[]> iterate(Expr<?>[] args)
Projectable
iterate
in interface Projectable
public <RT> Iterator<RT> iterate(Expr<RT> projection)
Projectable
iterate
in interface Projectable
RT
- generic type of the Iteratpr
public Iterator<Object[]> iterateDistinct(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
iterateDistinct
in interface Projectable
public Iterator<Object[]> iterateDistinct(Expr<?>[] args)
Projectable
iterateDistinct
in interface Projectable
public <RT> Iterator<RT> iterateDistinct(Expr<RT> projection)
Projectable
iterateDistinct
in interface Projectable
RT
- generic type of the Iteratpr
public 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 List<Object[]> listDistinct(Expr<?> first, Expr<?> second, Expr<?>... rest)
Projectable
listDistinct
in interface Projectable
rest
- rest
public List<Object[]> listDistinct(Expr<?>[] args)
Projectable
listDistinct
in interface Projectable
public <RT> List<RT> listDistinct(Expr<RT> projection)
Projectable
listDistinct
in interface Projectable
RT
- generic type of the List
public <RT> SearchResults<RT> listDistinctResults(Expr<RT> expr)
Projectable
listDistinctResults
in interface Projectable
public <RT> SearchResults<RT> listResults(Expr<RT> expr)
Projectable
listResults
in interface Projectable
public <K,V> Map<K,V> map(Expr<K> key, Expr<V> value)
Projectable
map
in interface Projectable
public String toString()
toString
in class Object
public 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 |