org.springframework.data.elasticsearch.core
Class DefaultEntityMapper
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEntityMapper
public DefaultEntityMapper()
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
Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.