Module spring.data.mongodb
Interface ReferenceResolver.MongoEntityReader
- Enclosing interface:
- ReferenceResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Domain type conversion callback interface that allows to read the
source object into a mapped object.-
Method Summary
Modifier and TypeMethodDescriptionread(Object source, TypeInformation<?> typeInformation) Read values from the given source into an object defined via the givenTypeInformation.
-
Method Details
-
read
Read values from the given source into an object defined via the givenTypeInformation.- Parameters:
source- never null.typeInformation- information about the desired target type.- Returns:
- never null.
-