Package com.querydsl.core
Interface FetchableQuery<T,Q extends FetchableQuery<T,Q>>
- Type Parameters:
T- element typeQ- concrete subtype
- All Superinterfaces:
Fetchable<T>,FilteredClause<Q>,SimpleQuery<Q>
public interface FetchableQuery<T,Q extends FetchableQuery<T,Q>>
extends SimpleQuery<Q>, Fetchable<T>
FetchableQuery extends Fetchable and SimpleQuery with projection changing
methods and result aggregation functionality using ResultTransformer instances.-
Method Summary
Modifier and TypeMethodDescriptionselect(Expression<?>... exprs) Change the projection of this query<U> FetchableQuery<U,?> select(Expression<U> expr) Change the projection of this query<S> Stransform(ResultTransformer<S> transformer) Apply the given transformer to thisFetchableQueryinstance and return the resultsMethods inherited from interface com.querydsl.core.Fetchable
fetch, fetchCount, fetchFirst, fetchOne, fetchResults, iterate, streamMethods inherited from interface com.querydsl.core.FilteredClause
where
-
Method Details
-
select
Change the projection of this query- Type Parameters:
U-- Parameters:
expr- new projection- Returns:
- the current object
-
select
Change the projection of this query- Parameters:
exprs- new projection- Returns:
- the current object
-
transform
Apply the given transformer to thisFetchableQueryinstance and return the results- Type Parameters:
S-- Parameters:
transformer- result transformer- Returns:
- transformed result
-