java.lang.Object
org.jooq.impl.DefaultRecordUnmapper<E,R>
- All Implemented Interfaces:
RecordUnmapper<E,R>
public class DefaultRecordUnmapper<E,R extends Record>
extends Object
implements RecordUnmapper<E,R>
A default implementation for unmapping a custom type to a
Record
.
This default implementation currently supports unmapping the following types
to a Record
:
Map
: See alsoRecord.fromMap(Map)
Object[]
: See alsoRecord.fromArray(Object...)
- POJOs: See also
Record.from(Object)
- Author:
- Lukas Eder
-
Constructor Summary
ConstructorDescriptionDefaultRecordUnmapper(Class<? extends E> type, RecordType<R> rowType, Configuration configuration)
-
Method Summary
-
Constructor Details
-
DefaultRecordUnmapper
public DefaultRecordUnmapper(Class<? extends E> type, RecordType<R> rowType, Configuration configuration)
-
-
Method Details
-
unmap
Description copied from interface:RecordUnmapper
Unmap a POJO into a record.- Specified by:
unmap
in interfaceRecordUnmapper<E,R extends Record>
- Parameters:
source
- The source object to copy data from. This is never null.
-