Uses of Interface
jakarta.data.page.PageRequest.Cursor
Packages that use PageRequest.Cursor
-
Uses of PageRequest.Cursor in jakarta.data.page
Classes in jakarta.data.page that implement PageRequest.CursorModifier and TypeClassDescription(package private) class
Built-in implementation of Cursor for cursor-based pagination.Fields in jakarta.data.page declared as PageRequest.CursorModifier and TypeFieldDescriptionprivate final PageRequest.Cursor
Pagination.type
The field for thetype
record component.Methods in jakarta.data.page that return PageRequest.CursorModifier and TypeMethodDescriptionCursoredPage.cursor
(int index) Returns aCursor
for key values at the specified position.static PageRequest.Cursor
Obtain an instance ofCursor
for the given key.Pagination.type()
Returns the value of thetype
record component.Methods in jakarta.data.page that return types with arguments of type PageRequest.CursorModifier and TypeMethodDescriptionPageRequest.cursor()
Returns the key values which are the starting point for cursor-based pagination.Pagination.cursor()
Methods in jakarta.data.page with parameters of type PageRequest.CursorModifier and TypeMethodDescriptionPageRequest.afterCursor
(PageRequest.Cursor cursor) Requests cursor-based pagination in the forward direction, starting after the specified key.static PageRequest
PageRequest.afterCursor
(PageRequest.Cursor cursor, long pageNumber, int maxPageSize, boolean requestTotal) Requests cursor-based pagination in the forward direction, starting after the specified key.Pagination.afterCursor
(PageRequest.Cursor cursor) PageRequest.beforeCursor
(PageRequest.Cursor cursor) Requests cursor-based pagination in the previous page direction relative to the specified key values.static PageRequest
PageRequest.beforeCursor
(PageRequest.Cursor cursor, long pageNumber, int maxPageSize, boolean requestTotal) Requests cursor-based pagination in the previous page direction relative to the specified cursor.Pagination.beforeCursor
(PageRequest.Cursor cursor) Constructors in jakarta.data.page with parameters of type PageRequest.CursorModifierConstructorDescription(package private)
Pagination
(long page, int size, PageRequest.Mode mode, PageRequest.Cursor type, boolean requestTotal) Creates an instance of aPagination
record class. -
Uses of PageRequest.Cursor in jakarta.data.page.impl
Fields in jakarta.data.page.impl with type parameters of type PageRequest.CursorModifier and TypeFieldDescriptionprivate final List
<PageRequest.Cursor> CursoredPageRecord.cursors
The field for thecursors
record component.Methods in jakarta.data.page.impl that return PageRequest.CursorMethods in jakarta.data.page.impl that return types with arguments of type PageRequest.Cursor