Class PaginatedCollection<T>

  • All Implemented Interfaces:
    Iterable<T>

    public abstract class PaginatedCollection<T>
    extends IterableWithMarker<T>
    Base class for all collections that return paginated results.
    • Method Detail

      • items

        public List<T> items()
      • nextMarker

        public com.google.common.base.Optional<Object> nextMarker()
        Description copied from class: IterableWithMarker
        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
        Specified by:
        nextMarker in class IterableWithMarker<T>
        Returns:
        next marker, or absent if list is complete