Package io.micronaut.data.runtime.mapper
Interfaces specific to mapping data from one type to another.
- Since:
- 1.0.0
- Author:
- graemerocher
-
Interface Summary Interface Description BeanIntrospectionMapper<D,R> ATypeMapper
that maps objects using a compile time computedBeanIntrospection
.QueryStatement<PS,IDX> An abstract interface over prepared statements.ResultConsumer<T,RS> A mapping function can be used as a method parameter to repository methods to allow custom mapping of results.ResultConsumer.Context<RS> A context object that simplifies mapping results to objects.ResultReader<RS,IDX> A result reader is a type that is capable of reading data from the given result set type.TypeMapper<D,R> A context object to facilitate and ease mapping objects programmatically. -
Class Summary Class Description DTOMapper<T,S,R> ABeanIntrospectionMapper
that reads the result using the specifiedPersistentEntity
andResultReader
and using theBeanIntrospectionMapper.map(Object, Class)
allows mapping a result to a introspected Data Transfer Object (DTO).