|
||||||||||
| 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<?> 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<?> 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<?> 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<?> 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<?> 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 Projectablepublic long countDistinct()
Projectable
countDistinct in interface Projectable
public Iterator<Object[]> iterate(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
Projectable
iterate in interface Projectablepublic <RT> Iterator<RT> iterate(Expr<RT> projection)
Projectable
iterate in interface ProjectableRT - generic type of the Iteratpr
public Iterator<Object[]> iterateDistinct(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
Projectable
iterateDistinct in interface Projectablepublic <RT> Iterator<RT> iterateDistinct(Expr<RT> projection)
Projectable
iterateDistinct in interface ProjectableRT - generic type of the Iteratpr
public List<Object[]> list(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
Projectable
list in interface Projectablerest - rest
public <RT> List<RT> list(Expr<RT> projection)
Projectable
list in interface ProjectableRT - generic type of the List
public List<Object[]> listDistinct(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
Projectable
listDistinct in interface Projectablerest - rest
public <RT> List<RT> listDistinct(Expr<RT> projection)
Projectable
listDistinct in interface ProjectableRT - generic type of the List
public <RT> SearchResults<RT> listDistinctResults(Expr<RT> expr)
Projectable
listDistinctResults in interface Projectablepublic <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 Projectablepublic String toString()
toString in class Object
public Object[] uniqueResult(Expr<?> first,
Expr<?> second,
Expr<?>... rest)
Projectable
uniqueResult in interface Projectablepublic <RT> RT uniqueResult(Expr<RT> expr)
Projectable
uniqueResult in interface ProjectableRT - return type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||