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>
- All Known Subinterfaces:
ElasticsearchSearchScroll<H>
,LuceneSearchScroll<H>
public interface ExtendedSearchScroll<H,R extends SearchScrollResult<H>> extends SearchScroll<H>
A base interface for subtypes ofSearchScroll
allowing to easily override the result type for all relevant methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
next()
Returns the next chunk, with at mostchunkSize
hits.-
Methods inherited from interface org.hibernate.search.engine.search.query.SearchScroll
close
-
-
-
-
Method Detail
-
next
R next()
Description copied from interface:SearchScroll
Returns the next chunk, with at mostchunkSize
hits.May return a result with less than
chunkSize
elements if only that many hits are left.- Specified by:
next
in interfaceSearchScroll<H>
- Returns:
- The next
SearchScrollResult
. - See Also:
SearchFetchable.scroll(int)
-
-