Uses of Record Class
st.orm.Pageable

Packages that use Pageable
Package
Description
 
 
 
  • Uses of Pageable in st.orm

    Methods in st.orm that return Pageable
    Modifier and Type
    Method
    Description
    Pageable.next()
    Returns a pageable request for the next page, preserving sort orders.
    Returns the Pageable for the next page, preserving sort orders.
    static Pageable
    Pageable.of(int pageNumber, int pageSize)
    Creates a pageable request for the given page number and page size without sort orders.
    static Pageable
    Pageable.ofSize(int pageSize)
    Creates a pageable request for the first page with the given page size.
    Page.pageable()
    Returns the value of the pageable record component.
    Pageable.previous()
    Returns a pageable request for the previous page, or the first page if already on page 0.
    Returns the Pageable for the previous page, or the first page if already on page 0.
    Pageable.sortBy(Metamodel<?,?> field)
    Returns a new pageable with an ascending sort order appended for the given field.
    Pageable.sortByDescending(Metamodel<?,?> field)
    Returns a new pageable with a descending sort order appended for the given field.
    Constructors in st.orm with parameters of type Pageable
    Modifier
    Constructor
    Description
     
    Page(List<R> content, long totalCount, Pageable pageable)
    Creates an instance of a Page record class.
  • Uses of Pageable in st.orm.repository

    Methods in st.orm.repository with parameters of type Pageable
    Modifier and Type
    Method
    Description
    EntityRepository.page(Pageable pageable)
    Returns a page of entities using offset-based pagination.
    ProjectionRepository.page(Pageable pageable)
    Returns a page of projections using offset-based pagination.
    EntityRepository.pageRef(Pageable pageable)
    Returns a page of entity refs using offset-based pagination.
    ProjectionRepository.pageRef(Pageable pageable)
    Returns a page of projection refs using offset-based pagination.
  • Uses of Pageable in st.orm.template

    Methods in st.orm.template with parameters of type Pageable
    Modifier and Type
    Method
    Description
    final Page<R>
    QueryBuilder.page(Pageable pageable)
    Executes the query and returns a Page of results using offset-based pagination.
    final Page<R>
    QueryBuilder.page(Pageable pageable, long totalCount)
    Executes the query and returns a Page of results using offset-based pagination with a pre-computed total count.