Module org.jooq
Package org.jooq

Interface RecordUnmapperProvider

    • Method Detail

      • provide

        <E,​R extends RecordRecordUnmapper<E,​R> provide​(Class<? extends E> type,
                                                                     RecordType<R> recordType)
        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 - The user type that was passed into Record.from(Object) or any other method.
        recordType - The RecordType of records that shall be mapped by the returned RecordUnmapper.
        Returns:
        A RecordUnmapper instance.
        See Also:
        RecordUnmapper, DefaultRecordUnmapper, DefaultRecordUnmapperProvider