Spring Data Elasticsearch

org.springframework.data.elasticsearch.core
Class AbstractResultMapper

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.AbstractResultMapper
All Implemented Interfaces:
GetResultMapper, MultiGetResultMapper, ResultsMapper, SearchResultMapper
Direct Known Subclasses:
DefaultResultMapper

public abstract class AbstractResultMapper
extends Object
implements ResultsMapper

Author:
Artur Konczak

Constructor Summary
AbstractResultMapper(EntityMapper entityMapper)
           
 
Method Summary
 EntityMapper getEntityMapper()
           
<T> T
mapEntity(String source, Class<T> clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.data.elasticsearch.core.SearchResultMapper
mapResults
 
Methods inherited from interface org.springframework.data.elasticsearch.core.GetResultMapper
mapResult
 
Methods inherited from interface org.springframework.data.elasticsearch.core.MultiGetResultMapper
mapResults
 

Constructor Detail

AbstractResultMapper

public AbstractResultMapper(EntityMapper entityMapper)
Method Detail

mapEntity

public <T> T mapEntity(String source,
                       Class<T> clazz)

getEntityMapper

public EntityMapper getEntityMapper()
Specified by:
getEntityMapper in interface ResultsMapper

Spring Data Elasticsearch

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.