Spring Data Elasticsearch

org.springframework.data.elasticsearch.core
Class DefaultEntityMapper

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.DefaultEntityMapper
All Implemented Interfaces:
EntityMapper

public class DefaultEntityMapper
extends Object
implements EntityMapper

DocumentMapper using jackson

Author:
Artur Konczak, Petar Tahchiev

Constructor Summary
DefaultEntityMapper()
           
 
Method Summary
<T> T
mapToObject(String source, Class<T> clazz)
           
 String mapToString(Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEntityMapper

public DefaultEntityMapper()
Method Detail

mapToString

public String mapToString(Object object)
                   throws IOException
Specified by:
mapToString in interface EntityMapper
Throws:
IOException

mapToObject

public <T> T mapToObject(String source,
                         Class<T> clazz)
              throws IOException
Specified by:
mapToObject in interface EntityMapper
Throws:
IOException

Spring Data Elasticsearch

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