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.
PaginatedList
allResults, 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, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public PaginatedQueryList(DynamoDBMapper mapper, Class<T> clazz, AmazonDynamoDB dynamo, QueryRequest queryRequest, QueryResult queryResult, 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 © 2018. All rights reserved.