public class PaginatedCollection<T> extends IterableWithMarker<T>
| Modifier | Constructor and Description |
|---|---|
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links) |
protected |
PaginatedCollection(Iterable<T> resources,
Iterable<Link> links,
Integer totalEntries) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Link> |
getLinks()
links that relate to this collection
|
com.google.common.base.Optional<Integer> |
getTotalEntries() |
Iterator<T> |
iterator() |
com.google.common.base.Optional<Object> |
nextMarker()
If there is a next marker, then the set is incomplete and you should issue another command to
retrieve the rest, setting the option
marker to this value |
PaginationOptions |
nextPaginationOptions() |
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected PaginatedCollection(@Nullable Iterable<T> resources, @Nullable Iterable<Link> links, @Nullable Integer totalEntries)
public com.google.common.base.Optional<Integer> getTotalEntries()
public PaginationOptions nextPaginationOptions()
public com.google.common.base.Optional<Object> nextMarker()
IterableWithMarkermarker to this valuenextMarker in class IterableWithMarker<T>Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.