- All Superinterfaces:
- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
RecordMapperis a mapper that can receive
Recordobjects, when fetching data from the database, transforming them into a custom type
RecordMapper is used behind the scenes in methods like
Record.into(Class) and other methods called
where the argument class is a
Class of type
RecordMapper behaviour in the context of a
Configuration can be overridden through that
SPI. Custom record mappers can be constructed using lambda expressions, using
Records.mapping(Function2), etc. utilities, and other ways.
The inverse operation is modelled by
- Lukas Eder