@Internal public class ESRequestMapper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ESRequestMapper.Result<T> |
Constructor and Description |
---|
ESRequestMapper(ESFilterMapper<SearchFilter> filterMapper,
ESQueryMapper<SearchQuery> queryMapper,
ESSortMapper sortMapper) |
Modifier and Type | Method and Description |
---|---|
ESRequestMapper.Result<org.elasticsearch.action.explain.ExplainRequest> |
map(ISearch search,
long contentId) |
ESRequestMapper.Result<org.elasticsearch.action.search.SearchRequest> |
map(ISearch search,
Set<String> requestedFields) |
public ESRequestMapper(ESFilterMapper<SearchFilter> filterMapper, ESQueryMapper<SearchQuery> queryMapper, ESSortMapper sortMapper)
public ESRequestMapper.Result<org.elasticsearch.action.search.SearchRequest> map(@Nonnull ISearch search, @Nonnull Set<String> requestedFields)
public ESRequestMapper.Result<org.elasticsearch.action.explain.ExplainRequest> map(@Nonnull ISearch search, long contentId)
Copyright © 2003–2017 Atlassian. All rights reserved.