Uses of Record Class
st.orm.Pageable
Packages that use Pageable
Package
Description
Foundation of the data model: the mapping annotations and the record interfaces.
Java repository API.
Java client API: templates, query builders and transactions.
-
Uses of Pageable in st.orm
Modifier and TypeMethodDescriptionPage.next()Returns the request for the page after this one, preserving sort orders.Pageable.next()Returns a pageable request for the next page, preserving sort orders.static PageablePageable.of(int pageNumber, int pageSize) Creates a pageable request for the given page number and page size without sort orders.static PageablePageable.ofSize(int pageSize) Creates a pageable request for the first page with the given page size.Page.pageable()Returns the value of thepageablerecord component.@Nullable PageablePage.previous()Returns the request for the page before this one, preserving sort orders, ornullon the first page, where nothing precedes.@Nullable PageablePageable.previous()Returns a pageable request for the previous page, preserving sort orders, ornullon page 0, where nothing precedes.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. -
Uses of Pageable in st.orm.repository
Methods in st.orm.repository with parameters of type PageableModifier and TypeMethodDescriptionReturns a page of entities using offset-based pagination.Returns a page of projections using offset-based pagination.Returns a page of entity refs using offset-based pagination.Returns a page of projection refs using offset-based pagination.Returns a slice of entities using offset-based pagination without a count.Returns a slice of projections using offset-based pagination without a count.Returns a slice of entity refs using offset-based pagination without a count.Returns a slice of projection refs using offset-based pagination without a count. -
Uses of Pageable in st.orm.template
Methods in st.orm.template with parameters of type PageableModifier and TypeMethodDescriptionExecutes the query and returns aPageof results using offset-based pagination.Executes the query and returns aPageof results using offset-based pagination with a pre-computed total count.Executes the query and returns aSliceof results using offset-based pagination without a count.