public abstract class PaginatedCollection<T> extends IterableWithMarker<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
PaginatedCollection.Meta |
| Modifier | Constructor and Description |
|---|---|
protected |
PaginatedCollection(List<T> items,
PaginatedCollection.Meta meta) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
items() |
Iterator<T> |
iterator() |
PaginatedCollection.Meta |
meta() |
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 |
allMatch, anyMatch, append, append, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, get, index, isEmpty, join, last, limit, of, size, skip, toArray, toList, toMap, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndexprotected PaginatedCollection(List<T> items, PaginatedCollection.Meta meta)
public PaginatedCollection.Meta meta()
public com.google.common.base.Optional<Object> nextMarker()
IterableWithMarkermarker to this valuenextMarker in class IterableWithMarker<T>Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.