public class DefaultRecordUnmapper<E,R extends Record> extends Object implements RecordUnmapper<E,R>
Record
.
This default implementation currently supports unmapping the following types
to a Record
:
Map
: See also Record.fromMap(Map)
Object[]
: See also Record.fromArray(Object...)
Record.from(Object)
Constructor and Description |
---|
DefaultRecordUnmapper(Class<? extends E> type,
RecordType<R> rowType,
Configuration configuration) |
public DefaultRecordUnmapper(Class<? extends E> type, RecordType<R> rowType, Configuration configuration)
public final R unmap(E source)
RecordUnmapper
unmap
in interface RecordUnmapper<E,R extends Record>
source
- The source object to copy data from. This is never null.Copyright © 2019. All rights reserved.