Interface ExtendedFetchable<T>

Type Parameters:
T - query return type.
All Superinterfaces:
com.querydsl.core.Fetchable<T>
All Known Subinterfaces:
JPQLNextQuery<T>, 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
    fetchPage(int firstResult, int maxResults)
    Execute the query and return the result as a type PagedList.
    fetchPage(KeysetPage keysetPage, int firstResult, int maxResults)
    Execute the query and return the result as a type PagedList.
    Get the query string.

    Methods inherited from interface com.querydsl.core.Fetchable

    fetch, fetchCount, fetchFirst, fetchOne, fetchResults, iterate, stream
  • Method Details

    • fetchPage

      PagedList<T> fetchPage(int firstResult, int maxResults)
      Execute the query and return the result as a type PagedList.
      Parameters:
      firstResult - The position of the first result to retrieve, numbered from 0
      maxResults - The maximum number of results to retrieve
      Returns:
      The paged list of the results
      See Also:
    • fetchPage

      PagedList<T> fetchPage(KeysetPage keysetPage, int firstResult, int maxResults)
      Execute the query and return the result as a type PagedList.
      Parameters:
      keysetPage - The key set from a previous result, may be null
      firstResult - The position of the first result to retrieve, numbered from 0
      maxResults - The maximum number of results to retrieve
      Returns:
      The paged list of the results
      See Also:
    • getQueryString

      String getQueryString()
      Get the query string.
      Returns:
      the query string
      See Also: