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>
public interface ExtendedSearchScroll<H,R extends SearchScrollResult<H>> extends SearchScroll<H>
A base interface for subtypes ofSearchScrollallowing to easily override the result type for all relevant methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rnext()Returns the next chunk, with at mostchunkSizehits.-
Methods inherited from interface org.hibernate.search.engine.search.query.SearchScroll
close
-
-
-
-
Method Detail
-
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:
SearchFetchable.scroll(int)
-
-