T
- the type of the paginated object.public interface PaginationTypePicker<T> extends SlicePaginationPicker<T>
Paginator
DSL allowing to choose the pagination type. Three pagination
types are supported: Modifier and Type | Method and Description |
---|---|
SizePicker<T> |
byPage(long pageIndex)
Choose a page-based pagination type.
|
byAttribute, byOffset
SizePicker<T> byPage(long pageIndex)
pageIndex
- the index of the page containing objects that will be returned.Copyright © 2013-2018–2019 SeedStack. All rights reserved.