Interface ExtendedSearchScroll<H, R extends SearchScrollResult<H>>
- Type Parameters:
H- The type of query hits.R- The result type (extendingSearchScrollResult).
- All Superinterfaces:
AutoCloseable, SearchScroll<H>
A base interface for subtypes of
SearchScroll allowing to
easily override the result type for all relevant methods.-
Method Summary
Methods inherited from interface SearchScroll
close
-
Method Details
-
next
R next()Description copied from interface:SearchScrollReturns the next chunk, with at mostchunkSizehits.May return a result with less than
chunkSizeelements if only that many hits are left.- Specified by:
nextin interfaceSearchScroll<H>- Returns:
- The next
SearchScrollResult. - See Also:
-