@Beta public class PagedIterables extends Object
PagedIterable
s.Constructor and Description |
---|
PagedIterables() |
Modifier and Type | Method and Description |
---|---|
static <T> PagedIterable<T> |
advance(IterableWithMarker<T> initial,
com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNext) |
static <T> PagedIterable<T> |
of(IterableWithMarker<T> only)
Deprecated.
|
static <T> PagedIterable<T> |
onlyPage(IterableWithMarker<T> only) |
public static <T> PagedIterable<T> onlyPage(IterableWithMarker<T> only)
only
- the only page of data@Deprecated public static <T> PagedIterable<T> of(IterableWithMarker<T> only)
onlyPage(IterableWithMarker)
public static <T> PagedIterable<T> advance(IterableWithMarker<T> initial, com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNext)
initial
- the initial set current datamarkerToNext
- produces the next set based on the markerCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.