Top Description Fields Constructors Methods
org.jooq.impl

public Class DefaultRecordUnmapperProvider

extends Object
implements RecordUnmapperProvider, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.jooq.RecordUnmapperProvider
Imports
java.io.Serializable, org.jooq.Configuration, .Record, .RecordType, .RecordUnmapper, .RecordUnmapperProvider

A default RecordUnmapperProvider implementation, providing a DefaultRecordUnmapper instance.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
private final Configuration

Constructor Summary

AccessConstructor and Description
public
protected
DefaultRecordUnmapperProvider(Configuration configuration)

Create a new RecordUnmapperProvider with a Configuration that can be used by jOOQ for caching reflection information.

Method Summary

Modifier and TypeMethod and Description
public final <E, R extends Record> RecordUnmapper<E, R>
provide(Class<? extends E>
The user type that was passed into Record#from(Object) or any other method.
type
,
RecordType<R>
The RecordType of records that shall be mapped by the returned RecordUnmapper.
rowType
)

Implements org.jooq.RecordUnmapperProvider.provide.

Provide a RecordUnmapper instance.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

configurationback to summary
private final Configuration configuration

Constructor Detail

DefaultRecordUnmapperProviderback to summary
public DefaultRecordUnmapperProvider()
DefaultRecordUnmapperProviderback to summary
protected DefaultRecordUnmapperProvider(Configuration configuration)

Create a new RecordUnmapperProvider with a Configuration that can be used by jOOQ for caching reflection information.

Method Detail

provideback to summary
public final <E, R extends Record> RecordUnmapper<E, R> provide(Class<? extends E> type, RecordType<R> rowType)

Implements org.jooq.RecordUnmapperProvider.provide.

Doc from org.jooq.RecordUnmapperProvider.provide.

Provide a RecordUnmapper instance.

Implementations are free to choose whether this method returns new instances at every call or whether the same instance is returned repetitively.

Parameters
type:Class<? extends E>

The user type that was passed into Record#from(Object) or any other method.

rowType:RecordType<R>

The RecordType of records that shall be mapped by the returned RecordUnmapper.

Returns:RecordUnmapper<E, R>

A RecordUnmapper instance.

Annotations
@Override