Interface ExtendedFetchable<T>
- Type Parameters:
T- query return type.
- All Superinterfaces:
com.querydsl.core.Fetchable<T>
- All Known Subinterfaces:
SetExpression<RT>
- All Known Implementing Classes:
AbstractBlazeJPAQuery,BlazeJPAQuery,SetExpressionImpl
public interface ExtendedFetchable<T>
extends com.querydsl.core.Fetchable<T>
Extension for
Fetchable- Since:
- 1.5.0
- Author:
- Jan-Willem Gmelig Meyling
-
Method Summary
Modifier and Type Method Description PagedList<T>fetchPage(int firstResult, int maxResults)Execute the query and return the result as a type PagedList.PagedList<T>fetchPage(KeysetPage keysetPage, int firstResult, int maxResults)Execute the query and return the result as a type PagedList.StringgetQueryString()Get the query string.
-
Method Details
-
fetchPage
Execute the query and return the result as a type PagedList.- Parameters:
firstResult- The position of the first result to retrieve, numbered from 0maxResults- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
FullQueryBuilder.page(int, int)
-
fetchPage
Execute the query and return the result as a type PagedList.- Parameters:
keysetPage- The key set from a previous result, may be nullfirstResult- The position of the first result to retrieve, numbered from 0maxResults- The maximum number of results to retrieve- Returns:
- The paged list of the results
- See Also:
FullQueryBuilder.page(KeysetPage, int, int)
-
getQueryString
String getQueryString()Get the query string.- Returns:
- the query string
- See Also:
Queryable.getQueryString()
-