Interface PagingIterator<T>

  • All Superinterfaces:
    Iterator<T>

    public interface PagingIterator<T>
    extends Iterator<T>
    Many operations require walking across the entire domain of data available. This should still be done as efficiently as possible, requesting a reasonable batch of data, processing it, and then requested another batch ... and so on. PagingIterators that are returned from services are guaranteed to only have one page of data loaded at any given time. The complexities of determining reasonable page windows is abstracted away from the caller.