public abstract class PagedSearchIterable<T> extends PagedIterable<T>
PagedIterable enhanced to report search result specific information.| Modifier and Type | Method and Description |
|---|---|
protected java.util.Iterator<T[]> |
adapt(java.util.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, iteratorpublic 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 © 2016. All Rights Reserved.