Package io.micronaut.data.runtime.mapper
Interface BeanIntrospectionMapper<D,R> 
- Type Parameters:
- D- The object type.
- R- The result type
- All Superinterfaces:
- TypeMapper<D,- R> 
- All Known Implementing Classes:
- DTOMapper,- SqlDTOMapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A 
TypeMapper that maps objects using a compile time computed BeanIntrospection.- Since:
- 1.0.0
- Author:
- graemerocher
- 
Method SummaryMethods inherited from interface io.micronaut.data.runtime.mapper.TypeMappergetConversionService, read, read
- 
Method Details- 
map@NonNull default R map(@NonNull D object, @NonNull @NonNull Class<R> type) throws io.micronaut.core.reflect.exception.InstantiationException Description copied from interface:TypeMapperMap the given result set to the given object.- Specified by:
- mapin interface- TypeMapper<D,- R> 
- Parameters:
- object- The object to map
- type- The type
- Returns:
- The mapped object
- Throws:
- io.micronaut.core.reflect.exception.InstantiationException
 
- 
convert
 
-