| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
EsFetcher.HitDocConsumer
Consumes both a SearchHit and DocumentModel. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected EsFetcher.HitDocConsumer | 
consumer  | 
| Constructor and Description | 
|---|
EsFetcher(CoreSession session,
         org.elasticsearch.action.search.SearchResponse response,
         Map<String,String> repoNames)  | 
EsFetcher(CoreSession session,
         org.elasticsearch.action.search.SearchResponse response,
         Map<String,String> repoNames,
         EsFetcher.HitDocConsumer consumer)  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentModelListImpl | 
fetchDocuments()  | 
getRepoForIndex, getResponse, getSessionprotected final EsFetcher.HitDocConsumer consumer
public EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
public EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames, EsFetcher.HitDocConsumer consumer)
public DocumentModelListImpl fetchDocuments()
fetchDocuments in class FetcherCopyright © 2019 Nuxeo. All rights reserved.