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
mapToString
String mapToString(Object object)
throws IOException
- Throws:
IOException
mapToObject
<T> T mapToObject(String source,
Class<T> clazz)
throws IOException
- Throws:
IOException
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.