public abstract class PagedSearchIterable<T> extends PagedIterable<T>
PagedIterable enhanced to report search result specific information.| Modifier and Type | Method and Description |
|---|---|
protected Iterator<T[]> |
adapt(Iterator<? extends org.kohsuke.github.SearchResult<T>> base)
Adapts
Iterator. |
int |
getTotalCount()
Returns the total number of hit, including the results that's not yet fetched.
|
boolean |
isIncomplete() |
PagedSearchIterable<T> |
withPageSize(int size)
Sets the pagination size.
|
_iterator, asList, asSet, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PagedSearchIterable<T> withPageSize(int size)
PagedIterableWhen set to non-zero, each API call will retrieve this many entries.
withPageSize in class PagedIterable<T>public int getTotalCount()
public boolean isIncomplete()
Copyright © 2017. All rights reserved.