H - The type of query hits.R - The result type (extending SearchResult).public interface ExtendedSearchFetchable<H,R extends SearchResult<H>> extends SearchFetchable<H>
SearchFetchable allowing to
easily override the result type for all relevant methods.| Modifier and Type | Method and Description |
|---|---|
R |
fetch()
Execute the query and return the
SearchResult. |
R |
fetch(Integer limit)
Execute the query and return the
SearchResult. |
R |
fetch(Integer limit,
Integer offset)
Execute the query and return the
SearchResult. |
fetchHits, fetchHits, fetchHits, fetchSingleHit, fetchTotalHitCountR fetch()
SearchFetchableSearchResult.fetch in interface SearchFetchable<H>SearchResult.R fetch(Integer limit)
SearchFetchableSearchResult.fetch in interface SearchFetchable<H>limit - The maximum number of hits to be included in the SearchResult. null means no limit.SearchResult.R fetch(Integer limit, Integer offset)
SearchFetchableSearchResult.fetch in interface SearchFetchable<H>limit - The maximum number of hits to be included in the SearchResult. null means no limit.offset - The number of hits to skip before adding the hits to the SearchResult. null means no offset.SearchResult.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.