public class DefaultRecordUnmapperProvider extends java.lang.Object implements RecordUnmapperProvider, java.io.Serializable
RecordUnmapperProvider
implementation, providing a
DefaultRecordUnmapper
instance.Modifier | Constructor and Description |
---|---|
|
DefaultRecordUnmapperProvider() |
protected |
DefaultRecordUnmapperProvider(Configuration configuration)
Create a new
RecordUnmapperProvider with a Configuration
that can be used by jOOQ for caching reflection information. |
Modifier and Type | Method and Description |
---|---|
<E,R extends Record> |
provide(java.lang.Class<? extends E> type,
RecordType<R> rowType)
Provide a
RecordUnmapper instance. |
public DefaultRecordUnmapperProvider()
protected DefaultRecordUnmapperProvider(Configuration configuration)
RecordUnmapperProvider
with a Configuration
that can be used by jOOQ for caching reflection information.public final <E,R extends Record> RecordUnmapper<E,R> provide(java.lang.Class<? extends E> type, RecordType<R> rowType)
RecordUnmapperProvider
RecordUnmapper
instance.
Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively.
provide
in interface RecordUnmapperProvider
type
- The user type that was passed into
Record.from(Object)
or any other method.rowType
- The RecordType
of records that shall be
mapped by the returned RecordUnmapper
.RecordUnmapper
instance.RecordUnmapper
,
DefaultRecordUnmapper
,
DefaultRecordUnmapperProvider
Copyright © 2018. All Rights Reserved.