|
lintel 0.2.0
|
#include <Page.h>
Public Member Functions | |
| Page (std::vector< T > items, const bool hasMore, std::optional< std::string > nextAfter) | |
| const std::vector< T > & | getItems () const |
| bool | hasMore () const |
| const std::optional< std::string > & | getNextAfter () const |
A single page of keyset-paginated results.
| T | the element type of the page |
|
inline |
Constructs a page.
| items | the items of this page |
| hasMore | true if more items follow |
| nextAfter | the sort key of the last item (nullopt for an empty page) |
|
inline |
|
inline |