- All Implemented Interfaces:
- Iterator<String>
- Direct Known Subclasses:
- OffsetPaginator, PagePaginator
public abstract class Paginator
extends Object
implements Iterator<String>
This class is the abstraction for the Paginator class. There are
different pagination methods, however, all essentially require the query
engine to generate URLs to retrieve the next batch of data and also
to determine whether the URL has more data.
The Offset and Page paginators work either with a limit or without, but function
slightly differently. If a limit is specified and pushed down, the paginator will
generate a list of URLs with the appropriate pagination parameters. In the future
this could be parallelized, however in the V1 all these requests are run in series.