mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-29 07:12:26 +00:00
DATAES-29, ISSUE #16 - formatted new files
This commit is contained in:
parent
7f91413591
commit
655ccb0cec
@ -7,13 +7,19 @@ import java.io.IOException;
|
|||||||
*/
|
*/
|
||||||
public class CustomEntityMapper implements EntityMapper {
|
public class CustomEntityMapper implements EntityMapper {
|
||||||
|
|
||||||
|
public CustomEntityMapper(){
|
||||||
|
//custom configuration/implementation (e.g. FasterXML/jackson)
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String mapToString(Object object) throws IOException {
|
public String mapToString(Object object) throws IOException {
|
||||||
|
//mapping Object to String
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public <T> T mapToObject(String source, Class<T> clazz) throws IOException {
|
public <T> T mapToObject(String source, Class<T> clazz) throws IOException {
|
||||||
|
//mapping String to Object
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user