T
- The type of objects held in this list.public class PaginatedScanList<T> extends PaginatedList<T>
This is an unmodifiable list, so callers should not invoke any operations that modify this list, otherwise they will throw an UnsupportedOperationException.
PaginatedList
allResults, allResultsLoaded, clazz, dynamo, mapper, nextResults
Constructor and Description |
---|
PaginatedScanList(DynamoDBMapper mapper,
Class<T> clazz,
AmazonDynamoDB dynamo,
ScanRequest scanRequest,
ScanResult scanResult,
DynamoDBMapperConfig.PaginationLoadingStrategy paginationLoadingStrategy,
DynamoDBMapperConfig config) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
atEndOfResults()
Returns whether we have reached the end of the result set.
|
protected List<T> |
fetchNextPage()
Fetches the next page of results (which may be empty) and returns any
items found.
|
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, loadAllResults, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
public PaginatedScanList(DynamoDBMapper mapper, Class<T> clazz, AmazonDynamoDB dynamo, ScanRequest scanRequest, ScanResult scanResult, DynamoDBMapperConfig.PaginationLoadingStrategy paginationLoadingStrategy, DynamoDBMapperConfig config)
protected boolean atEndOfResults()
PaginatedList
atEndOfResults
in class PaginatedList<T>
protected List<T> fetchNextPage()
PaginatedList
fetchNextPage
in class PaginatedList<T>
Copyright © 2015. All rights reserved.