public class DefaultJestResultsMapper extends Object implements JestResultsMapper
| Constructor and Description |
|---|
DefaultJestResultsMapper() |
DefaultJestResultsMapper(org.springframework.data.elasticsearch.core.EntityMapper entityMapper) |
DefaultJestResultsMapper(org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentEntity<?>,org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty> mappingContext) |
DefaultJestResultsMapper(org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentEntity<?>,org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty> mappingContext,
org.springframework.data.elasticsearch.core.EntityMapper entityMapper) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.elasticsearch.core.EntityMapper |
getEntityMapper() |
<T> T |
mapResult(io.searchbox.core.DocumentResult response,
Class<T> clazz) |
<T> LinkedList<T> |
mapResults(MultiDocumentResult multiResponse,
Class<T> clazz) |
<T> AggregatedPage<T> |
mapResults(io.searchbox.core.SearchResult response,
Class<T> clazz,
org.springframework.data.domain.Pageable pageable) |
<T> AggregatedPage<T> |
mapResults(io.searchbox.core.SearchResult response,
Class<T> clazz,
org.springframework.data.domain.Pageable pageable,
List<org.elasticsearch.search.aggregations.AbstractAggregationBuilder> aggregations) |
<T> org.springframework.data.domain.Page<T> |
mapResults(SearchScrollResult response,
Class<T> clazz) |
public DefaultJestResultsMapper()
public DefaultJestResultsMapper(org.springframework.data.elasticsearch.core.EntityMapper entityMapper)
public DefaultJestResultsMapper(org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentEntity<?>,org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty> mappingContext)
public DefaultJestResultsMapper(org.springframework.data.mapping.context.MappingContext<? extends org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentEntity<?>,org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty> mappingContext,
org.springframework.data.elasticsearch.core.EntityMapper entityMapper)
public org.springframework.data.elasticsearch.core.EntityMapper getEntityMapper()
getEntityMapper in interface JestResultsMapperpublic <T> T mapResult(io.searchbox.core.DocumentResult response,
Class<T> clazz)
mapResult in interface JestGetResultMapperpublic <T> LinkedList<T> mapResults(MultiDocumentResult multiResponse, Class<T> clazz)
mapResults in interface JestMultiGetResultMapperpublic <T> org.springframework.data.domain.Page<T> mapResults(SearchScrollResult response, Class<T> clazz)
mapResults in interface JestScrollResultMapperpublic <T> AggregatedPage<T> mapResults(io.searchbox.core.SearchResult response, Class<T> clazz, org.springframework.data.domain.Pageable pageable)
mapResults in interface JestSearchResultMapperpublic <T> AggregatedPage<T> mapResults(io.searchbox.core.SearchResult response, Class<T> clazz, org.springframework.data.domain.Pageable pageable, List<org.elasticsearch.search.aggregations.AbstractAggregationBuilder> aggregations)
mapResults in interface JestSearchResultMapperCopyright © 2017. All Rights Reserved.