T - resource typeR - low level outcome/result typepublic abstract class PageBasedCollection<T,R> extends Object implements Iterable<T>
| Constructor and Description | 
|---|
| PageBasedCollection() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Page<T,R> | firstPage() | 
| R | getLastLowLevelResult()Returns the low-level result last retrieved (for the current page) from
 the server side; or null if there has yet no calls to the server. | 
| abstract Integer | getMaxResultSize()Returns the maximum number of resources to be retrieved in this
 collection; or null if there is no limit. | 
| IteratorSupport<T,R> | iterator()Returns an iterator over elements of type  T. | 
| PageIterable<T,R> | pages()Returns an iterator over pages of type  T. | 
| LowLevelResultListener<R> | registerLowLevelResultListener(LowLevelResultListener<R> listener)Used to register a listener for the event of receiving a low-level result
 from the server side. | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic IteratorSupport<T,R> iterator()
T.
 Each call to this method creates an independent iteration over DynamoDB data, with separate calls per iteration.public PageIterable<T,R> pages()
T.
 Each call to this method creates an independent iteration over DynamoDB data, with separate calls per iteration.public abstract Integer getMaxResultSize()
public R getLastLowLevelResult()
public LowLevelResultListener<R> registerLowLevelResultListener(LowLevelResultListener<R> listener)
listener - listener to be registered. If null, a "none" listener will be
            set.