T - The type of objects held in this list.public class PaginatedQueryList<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.
PaginatedListallResults, allResultsLoaded, clazz, dynamo, mapper, nextResults| Constructor and Description |
|---|
PaginatedQueryList(DynamoDBMapper mapper,
Class<T> clazz,
AmazonDynamoDB dynamo,
QueryRequest queryRequest,
QueryResult queryResult,
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, toArraypublic PaginatedQueryList(DynamoDBMapper mapper, Class<T> clazz, AmazonDynamoDB dynamo, QueryRequest queryRequest, QueryResult queryResult, DynamoDBMapperConfig.PaginationLoadingStrategy paginationLoadingStrategy, DynamoDBMapperConfig config)
protected boolean atEndOfResults()
PaginatedListatEndOfResults in class PaginatedList<T>protected List<T> fetchNextPage()
PaginatedListfetchNextPage in class PaginatedList<T>Copyright © 2015. All rights reserved.