Package io.micronaut.data.runtime.mapper
package io.micronaut.data.runtime.mapper
Interfaces specific to mapping data from one type to another.
- Since:
- 1.0.0
- Author:
- graemerocher
-
ClassDescriptionA
TypeMapperthat maps objects using a compile time computedBeanIntrospection.DTOMapper<T,S, R> ABeanIntrospectionMapperthat reads the result using the specifiedPersistentEntityandResultReaderand using theBeanIntrospectionMapper.map(Object, Class)allows mapping a result to a introspected Data Transfer Object (DTO).The wrapper aroundJsonMapperto read JSON values from the result set.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.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.