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