T
- type of elements returned@FunctionalInterface public static interface DatabaseUpgradePaginator.PaginatedDataSupplier<T>
getPage(int, int)
should not create a new transaction on it's own.Modifier and Type | Method and Description |
---|---|
Collection<T> |
getPage(int offset,
int limit)
Fetch a single page of the collection from the data source.
|
@NotNull Collection<T> getPage(int offset, int limit)
offset
- aka first result, 0-basedlimit
- aka max resultslimit
elementsCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.