Spring Data Elasticsearch

org.springframework.data.elasticsearch.core
Interface EntityMapper

All Known Implementing Classes:
DefaultEntityMapper

public interface EntityMapper

DocumentMapper interface, it will allow to customize how we mapping object to json

Author:
Artur Konczak, Rizwan Idrees, Mohsin Husen

Method Summary
<T> T
mapToObject(String source, Class<T> clazz)
           
 String mapToString(Object object)
           
 

Method Detail

mapToString

String mapToString(Object object)
                   throws IOException
Throws:
IOException

mapToObject

<T> T mapToObject(String source,
                  Class<T> clazz)
              throws IOException
Throws:
IOException

Spring Data Elasticsearch

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.