Uses of Interface
org.jooq.RecordMapper
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
This package contains compatibility classes to bridge between JDBC 4.0 and
JDBC 4.1.
-
Uses of RecordMapper in org.jooq
Modifier and TypeMethodDescription@NotNull RecordMapper<R,P>
DAO.mapper()
Expose theRecordMapper
that is used internally by thisDAO
to map from records of typeR
to POJOs of typeP
.static <T1, R extends Record1<T1>, U>
RecordMapper<R,U>Create aRecordMapper
that can map fromRecord1
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R extends Record10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>, U>
RecordMapper<R,U>Records.mapping(Function10<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? extends U> function)
Create aRecordMapper
that can map fromRecord10
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R extends Record11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>, U>
RecordMapper<R,U>Records.mapping(Function11<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? extends U> function)
Create aRecordMapper
that can map fromRecord11
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R extends Record12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>, U>
RecordMapper<R,U>Records.mapping(Function12<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? extends U> function)
Create aRecordMapper
that can map fromRecord12
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R extends Record13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, U>
RecordMapper<R,U>Records.mapping(Function13<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? extends U> function)
Create aRecordMapper
that can map fromRecord13
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R extends Record14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>, U>
RecordMapper<R,U>Records.mapping(Function14<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? extends U> function)
Create aRecordMapper
that can map fromRecord14
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R extends Record15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>, U>
RecordMapper<R,U>Records.mapping(Function15<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? extends U> function)
Create aRecordMapper
that can map fromRecord15
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R extends Record16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>, U>
RecordMapper<R,U>Records.mapping(Function16<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? extends U> function)
Create aRecordMapper
that can map fromRecord16
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R extends Record17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>, U>
RecordMapper<R,U>Records.mapping(Function17<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? extends U> function)
Create aRecordMapper
that can map fromRecord17
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R extends Record18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>, U>
RecordMapper<R,U>Records.mapping(Function18<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? super T18,? extends U> function)
Create aRecordMapper
that can map fromRecord18
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R extends Record19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>, U>
RecordMapper<R,U>Records.mapping(Function19<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? super T18,? super T19,? extends U> function)
Create aRecordMapper
that can map fromRecord19
to a user type in a type safe way.static <T1, T2, R extends Record2<T1, T2>, U>
RecordMapper<R,U>Create aRecordMapper
that can map fromRecord2
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R extends Record20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>, U>
RecordMapper<R,U>Records.mapping(Function20<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? super T18,? super T19,? super T20,? extends U> function)
Create aRecordMapper
that can map fromRecord20
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R extends Record21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>, U>
RecordMapper<R,U>Records.mapping(Function21<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? super T18,? super T19,? super T20,? super T21,? extends U> function)
Create aRecordMapper
that can map fromRecord21
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R extends Record22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>, U>
RecordMapper<R,U>Records.mapping(Function22<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? super T10,? super T11,? super T12,? super T13,? super T14,? super T15,? super T16,? super T17,? super T18,? super T19,? super T20,? super T21,? super T22,? extends U> function)
Create aRecordMapper
that can map fromRecord22
to a user type in a type safe way.static <T1, T2, T3, R extends Record3<T1, T2, T3>, U>
RecordMapper<R,U>Create aRecordMapper
that can map fromRecord3
to a user type in a type safe way.static <T1, T2, T3, T4, R extends Record4<T1, T2, T3, T4>, U>
RecordMapper<R,U>Create aRecordMapper
that can map fromRecord4
to a user type in a type safe way.static <T1, T2, T3, T4, T5, R extends Record5<T1, T2, T3, T4, T5>, U>
RecordMapper<R,U>Records.mapping(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends U> function)
Create aRecordMapper
that can map fromRecord5
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, R extends Record6<T1, T2, T3, T4, T5, T6>, U>
RecordMapper<R,U>Records.mapping(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends U> function)
Create aRecordMapper
that can map fromRecord6
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, R extends Record7<T1, T2, T3, T4, T5, T6, T7>, U>
RecordMapper<R,U>Records.mapping(Function7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends U> function)
Create aRecordMapper
that can map fromRecord7
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, R extends Record8<T1, T2, T3, T4, T5, T6, T7, T8>, U>
RecordMapper<R,U>Records.mapping(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends U> function)
Create aRecordMapper
that can map fromRecord8
to a user type in a type safe way.static <T1, T2, T3, T4, T5, T6, T7, T8, T9, R extends Record9<T1, T2, T3, T4, T5, T6, T7, T8, T9>, U>
RecordMapper<R,U>Records.mapping(Function9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends U> function)
Create aRecordMapper
that can map fromRecord9
to a user type in a type safe way.<R extends Record, E>
@NotNull RecordMapper<R,E>RecordMapperProvider.provide(RecordType<R> recordType, Class<? extends E> type)
Provide aRecordMapper
instance.Modifier and TypeMethodDescription@NotNull Configuration
Configuration.derive(RecordMapper<?,?> newRecordMapper)
Create a derived configuration from this one, with a new record mapper.<E> @NotNull List<E>
Cursor.fetch(RecordMapper<? super R,E> mapper)
Fetch results into a custom mapper callback.<E> @NotNull List<E>
ResultQuery.fetch(RecordMapper<? super R,E> mapper)
Fetch results into a custom mapper callback.<E> E
ResultQuery.fetchAny(RecordMapper<? super R,E> mapper)
Execute the query and return at most one resulting record.ResultQuery.fetchGroups(int[] keyFieldIndexes, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.ResultQuery.fetchGroups(int keyFieldIndex, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchGroups(Class<? extends K> keyType, RecordMapper<? super R,V> valueMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchGroups(String[] keyFieldNames, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.ResultQuery.fetchGroups(String keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchGroups(Field<?>[] keys, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.ResultQuery.fetchGroups(Field<K> key, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchGroups(Name[] keyFieldNames, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.ResultQuery.fetchGroups(Name keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchGroups(RecordMapper<? super R,K> keyMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchGroups(RecordMapper<? super R,K> keyMapper, Class<V> valueType)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchGroups(RecordMapper<? super R,K> keyMapper, RecordMapper<? super R,V> valueMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchGroups(Table<S> table, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given table and mapped by the given mapper.ResultQuery.fetchMap(int[] keyFieldIndexes, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
ResultQuery.fetchMap(int keyFieldIndex, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given key and mapped by the given mapper.<K, V> @NotNull Map<K,V>
ResultQuery.fetchMap(Class<? extends K> keyType, RecordMapper<? super R,V> valueMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchMap(String[] keyFieldNames, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
ResultQuery.fetchMap(String keyFieldName, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchMap(Field<?>[] keys, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.<K, E> @NotNull Map<K,E>
ResultQuery.fetchMap(Field<K> key, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchMap(Name[] keyFieldNames, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
ResultQuery.fetchMap(Name keyFieldName, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given key and mapped by the given mapper.ResultQuery.fetchMap(RecordMapper<? super R,K> keyMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.<K, V> @NotNull Map<K,V>
ResultQuery.fetchMap(RecordMapper<? super R,K> keyMapper, Class<V> valueType)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.<K, V> @NotNull Map<K,V>
ResultQuery.fetchMap(RecordMapper<? super R,K> keyMapper, RecordMapper<? super R,V> valueMapper)
Execute the query and return aMap
with results grouped by the given key entity and mapped into the given entity type.ResultQuery.fetchMap(Table<S> table, RecordMapper<? super R,E> mapper)
Execute the query and return aMap
with results grouped by the given table and mapped by the given mapper.<E> E
Cursor.fetchNext(RecordMapper<? super R,E> mapper)
Fetch the next record into a custom mapper callback.<E> @NotNull Optional<E>
Cursor.fetchNextOptional(RecordMapper<? super R,E> mapper)
Fetch the next record into a custom mapper callback.<E> E
Cursor.fetchOne(RecordMapper<? super R,E> mapper)
Deprecated, for removal: This API element is subject to removal in a future version.<E> E
ResultQuery.fetchOne(RecordMapper<? super R,E> mapper)
Execute the query and return at most one resulting value into a custom mapper callback.<E> @NotNull Optional<E>
Cursor.fetchOptional(RecordMapper<? super R,E> mapper)
Deprecated, for removal: This API element is subject to removal in a future version.- 3.10 - [#6363] - UseCursor.fetchNextOptional(RecordMapper)
instead.<E> @NotNull Optional<E>
ResultQuery.fetchOptional(RecordMapper<? super R,E> mapper)
Execute the query and return at most one resulting value into a custom mapper callback.<E> @NotNull Set<E>
ResultQuery.fetchSet(RecordMapper<? super R,E> mapper)
Fetch results into a custom mapper callback.<E> E
ResultQuery.fetchSingle(RecordMapper<? super R,E> mapper)
Execute the query and return exactly one resulting value into a custom mapper callback.Result.intoGroups(int[] keyFieldIndexes, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped into the given entity type.Result.intoGroups(int keyFieldIndex, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoGroups(Class<? extends K> keyType, RecordMapper<? super R,V> valueMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoGroups(String[] keyFieldNames, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped into the given entity type.Result.intoGroups(String keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoGroups(Field<?>[] keys, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped into the given entity type.Result.intoGroups(Field<K> key, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoGroups(Name[] keyFieldNames, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped into the given entity type.Result.intoGroups(Name keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoGroups(RecordMapper<? super R,K> keyMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoGroups(RecordMapper<? super R,K> keyMapper, Class<V> valueType)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoGroups(RecordMapper<? super R,K> keyMapper, RecordMapper<? super R,V> valueMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoGroups(Table<S> table, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key table and mapped into the given entity type.Result.intoMap(int[] keyFieldIndexes, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
Result.intoMap(int keyFieldIndex, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.<K, V> @NotNull Map<K,V>
Result.intoMap(Class<? extends K> keyType, RecordMapper<? super R,V> valueMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoMap(String[] keyFieldNames, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
Result.intoMap(String keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoMap(Field<?>[] keys, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped by the given mapper.<K, E> @NotNull Map<K,E>
Result.intoMap(Field<K> key, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoMap(Name[] keyFieldNames, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given keys and mapped by the given mapper.<E> @NotNull Map<?,E>
Result.intoMap(Name keyFieldName, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key and mapped by the given mapper.Result.intoMap(RecordMapper<? super R,K> keyMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.<K, V> @NotNull Map<K,V>
Result.intoMap(RecordMapper<? super R,K> keyMapper, Class<V> valueType)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.<K, V> @NotNull Map<K,V>
Result.intoMap(RecordMapper<? super R,K> keyMapper, RecordMapper<? super R,V> valueMapper)
Return aMap
with results grouped by the given key entity and mapped into the given entity type.Result.intoMap(Table<S> table, RecordMapper<? super R,E> mapper)
Return aMap
with results grouped by the given key table and mapped by the given mapper.<E> @NotNull Set<E>
Result.intoSet(RecordMapper<? super R,E> mapper)
Map results into a custom mapper callback.<E> E
Record.map(RecordMapper<Record,E> mapper)
Map this record into a custom mapper callback.<E> @NotNull List<E>
Result.map(RecordMapper<? super R,E> mapper)
Map results into a custom mapper callback.@NotNull Configuration
Configuration.set(RecordMapper<?,?> newRecordMapper)
Change this configuration to hold a new record mapper. -
Uses of RecordMapper in org.jooq.impl
Modifier and TypeClassDescriptionclass
DefaultRecordMapper<R extends Record,E>
This is the default implementation forRecordMapper
types, which applies toRecord.into(Class)
,Result.into(Class)
, and similar calls.Modifier and TypeMethodDescriptionRecordMapper<R,P>
DAOImpl.mapper()
Expose theRecordMapper
that is used internally by thisDAO
to map from records of typeR
to POJOs of typeP
.<R extends Record, E>
RecordMapper<R,E>DefaultRecordMapperProvider.provide(RecordType<R> rowType, Class<? extends E> type)
Modifier and TypeMethodDescriptionDefaultConfiguration.derive(RecordMapper<?,?> newRecordMapper)
DefaultConfiguration.set(RecordMapper<?,?> newRecordMapper)
void
DefaultConfiguration.setRecordMapper(RecordMapper<?,?> newRecordMapper)
-
Uses of RecordMapper in org.jooq.tools.jdbc
Modifier and TypeMethodDescriptionMockConfiguration.derive(RecordMapper<?,?> newRecordMapper)
MockConfiguration.set(RecordMapper<?,?> newRecordMapper)
Cursor.fetchNext(RecordMapper)
instead.