Record types and constructing
RecordMapper.
The various mapping() methods can be used e.g. to map between
Record types and constructors of known degree, such as in this
example:
record Actor (int id, String firstName, String lastName) {}
List<Actor> actors =
ctx.select(ACTOR.ID, ACTOR.FIRST_NAME, ACTOR.LAST_NAME)
.from(ACTOR)
.fetch(mapping(Actor::new));
- Author:
- Lukas Eder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintoArray(E[] a)Create a collector that can collectRecord1resulting from a single columnResultQueryinto an array of that column's type.Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.Create a collector that can collectRecord2resulting from a 2-columnResultQueryinto aMapusing the first column as key collecting values of the second column into a list of values.intoGroups(Function<? super R,? extends K> keyMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the records themselves into a list of values.intoGroups(Function<? super R,? extends K> keyMapper, Function<? super R,? extends V> valueMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the result of another argumentRecordMapperinto a list of values.intoList()Create a collector that can collectRecord1resulting from a single columnResultQueryinto aListof that column's type.Create a collector that can collectRecordresulting from aResultQueryinto aListof a mapped type.intoMap()Create a collector that can collectRecord2resulting from a 2-columnResultQueryinto aMapusing the first column as key and the second column as value.Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key and the record itself as value.Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key and the result of another argumentRecordMapperas value.intoResultGroups(Function<? super R,? extends K> keyMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the records themselves into aResult.intoResultGroups(Function<? super R,? extends K> keyMapper, Function<? super R,? extends V> valueMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the result of another argumentRecordMapperinto aResultof values.intoSet()Create a collector that can collectRecord1resulting from a single columnResultQueryinto aSetof that column's type.Create a collector that can collectRecordresulting from aResultQueryinto aSetof a mapped type.static <T1, R extends Record1<T1>, U>
RecordMapper<R,U>Create aRecordMapperthat can map fromRecord1to 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>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 aRecordMapperthat can map fromRecord10to 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>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 aRecordMapperthat can map fromRecord11to 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>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 aRecordMapperthat can map fromRecord12to 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>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 aRecordMapperthat can map fromRecord13to 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>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 aRecordMapperthat can map fromRecord14to 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>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 aRecordMapperthat can map fromRecord15to 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>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 aRecordMapperthat can map fromRecord16to 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>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 aRecordMapperthat can map fromRecord17to 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>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 aRecordMapperthat can map fromRecord18to 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>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 aRecordMapperthat can map fromRecord19to a user type in a type safe way.static <T1, T2, R extends Record2<T1, T2>, U>
RecordMapper<R,U>Create aRecordMapperthat can map fromRecord2to 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>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 aRecordMapperthat can map fromRecord20to 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>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 aRecordMapperthat can map fromRecord21to 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>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 aRecordMapperthat can map fromRecord22to a user type in a type safe way.static <T1, T2, T3, R extends Record3<T1, T2, T3>, U>
RecordMapper<R,U>Create aRecordMapperthat can map fromRecord3to 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 aRecordMapperthat can map fromRecord4to 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>mapping(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends U> function)Create aRecordMapperthat can map fromRecord5to 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>mapping(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends U> function)Create aRecordMapperthat can map fromRecord6to 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>mapping(Function7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends U> function)Create aRecordMapperthat can map fromRecord7to 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>mapping(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends U> function)Create aRecordMapperthat can map fromRecord8to 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>mapping(Function9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends U> function)Create aRecordMapperthat can map fromRecord9to a user type in a type safe way.
-
Constructor Details
-
Records
public Records()
-
-
Method Details
-
intoArray
Create a collector that can collectRecord1resulting from a single columnResultQueryinto an array of that column's type.For example:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoArray(new String[0]));This is the same as the following, but allows for omitting repeating the
BOOK.TITLEcolumn:String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchArray(BOOK.TITLE); -
intoArray
public static final <E, R extends Record1<E>> Collector<R,?,E[]> intoArray(Class<? extends E> componentType)Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.For example:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoArray(new String[0], r -> r.get(BOOK.TITLE)));This is the same as the following:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchArray(BOOK.TITLE); -
intoArray
public static final <E, R extends Record> Collector<R,?,E[]> intoArray(E[] a, Function<? super R,? extends E> function)Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.For example:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoArray(new String[0], r -> r.get(BOOK.TITLE)));This is the same as the following:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchArray(BOOK.TITLE); -
intoArray
public static final <E, R extends Record> Collector<R,?,E[]> intoArray(Class<? extends E> componentType, Function<? super R,? extends E> function)Create a collector that can collectRecordresulting from aResultQueryinto an array of a mapped type.For example:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoArray(new String[0], r -> r.get(BOOK.TITLE)));This is the same as the following:
String[] titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchArray(BOOK.TITLE); -
intoList
Create a collector that can collectRecord1resulting from a single columnResultQueryinto aListof that column's type.For example:
List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoList());This is the same as the following, but allows for omitting repeating the
BOOK.TITLEcolumn:List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetch(BOOK.TITLE); -
intoList
public static final <E, R extends Record> Collector<R,?,List<E>> intoList(Function<? super R,? extends E> function)Create a collector that can collectRecordresulting from aResultQueryinto aListof a mapped type.For example:
List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoList(r -> r.get(BOOK.TITLE)));This is the same as the following:
List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetch(BOOK.TITLE); -
intoSet
Create a collector that can collectRecord1resulting from a single columnResultQueryinto aSetof that column's type.For example:
Set<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoSet());This is the same as the following, but allows for omitting repeating the
BOOK.TITLEcolumn:List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchSet(BOOK.TITLE); -
intoSet
public static final <E, R extends Record> Collector<R,?,Set<E>> intoSet(Function<? super R,? extends E> function)Create a collector that can collectRecordresulting from aResultQueryinto aSetof a mapped type.For example:
Set<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .collect(intoSet(r -> r.get(BOOK.TITLE)));This is the same as the following:
List<String> titles = ctx.select(BOOK.TITLE) .from(BOOK) .fetchSet(BOOK.TITLE); -
intoMap
Create a collector that can collectRecord2resulting from a 2-columnResultQueryinto aMapusing the first column as key and the second column as value.Collection throws
InvalidResultExceptionif a key is encountered more than once.For example:
Map<Integer, String> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoMap());This is the same as the following, but allows for omitting repeating the
BOOK.IDandBOOK.TITLEcolumns:Map<Integer, String> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchMap(BOOK.ID, BOOK.TITLE); -
intoMap
public static final <K, R extends Record> Collector<R,?,Map<K,R>> intoMap(Function<? super R,? extends K> keyMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key and the record itself as value.Collection throws
InvalidResultExceptionif a key is encountered more than once.For example:
Map<Integer, Record2<Integer, String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoMap(r -> r.get(BOOK.ID)));This is the same as the following:
Map<Integer, Record2<Integer, String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchMap(BOOK.ID); -
intoMap
public static final <K, V, R extends Record> Collector<R,?,Map<K,V>> intoMap(Function<? super R,? extends K> keyMapper, Function<? super R,? extends V> valueMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key and the result of another argumentRecordMapperas value.Collection throws
InvalidResultExceptionif a key is encountered more than once.For example:
Map<Integer, String> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoMap(r -> r.get(BOOK.ID), r -> r.get(BOOK.TITLE)));This is the same as the following:
Map<Integer, String> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchMap(BOOK.ID, BOOK.TITLE); -
intoGroups
public static final <K, V, R extends Record2<K, V>> Collector<R,?,Map<K,List<V>>> intoGroups()Create a collector that can collectRecord2resulting from a 2-columnResultQueryinto aMapusing the first column as key collecting values of the second column into a list of values.For example:
Map<Integer, List<String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoGroups());This is the same as the following, but allows for omitting repeating the
BOOK.IDandBOOK.TITLEcolumns:Map<Integer, List<String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchGroups(BOOK.ID, BOOK.TITLE); -
intoGroups
public static final <K, R extends Record> Collector<R,?,Map<K,List<R>>> intoGroups(Function<? super R,? extends K> keyMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the records themselves into a list of values.For example:
Map<Integer, List<Record2<Integer, String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoGroups(r -> r.get(BOOK.ID)));This is the same as the following:
Map<Integer, List<Record2<Integer, String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchGroups(BOOK.ID); -
intoGroups
public static final <K, V, R extends Record> Collector<R,?,Map<K,List<V>>> intoGroups(Function<? super R,? extends K> keyMapper, Function<? super R,? extends V> valueMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the result of another argumentRecordMapperinto a list of values.For example:
Map<Integer, List<String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoGroups(r -> r.get(BOOK.ID), r -> r.get(BOOK.TITLE)));This is the same as the following:
Map<Integer, List<String>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchGroups(BOOK.ID, BOOK.TITLE); -
intoResultGroups
public static final <K, R extends Record> Collector<R,?,Map<K,Result<R>>> intoResultGroups(Function<? super R,? extends K> keyMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the records themselves into aResult.For example:
Map<Integer, Result<Record2<Integer, String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoResultGroups(r -> r.get(BOOK.ID)));This is the same as the following:
Map<Integer, Result<Record2<Integer, String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchGroups(BOOK.ID); -
intoResultGroups
public static final <K, V extends Record, R extends Record> Collector<R,?,Map<K,Result<V>>> intoResultGroups(Function<? super R,? extends K> keyMapper, Function<? super R,? extends V> valueMapper)Create a collector that can collectRecordresulting from aResultQueryinto aMapusing the result of the argumentRecordMapperas key collecting the result of another argumentRecordMapperinto aResultof values.For example:
Map<Integer, Result<Record1<String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .collect(intoResultGroups(r -> r.get(BOOK.ID), r -> r.get(BOOK.TITLE)));This is the same as the following:
Map<Integer, Result<Record1<String>>> books = ctx.select(BOOK.ID, BOOK.TITLE) .from(BOOK) .fetchGroups(BOOK.ID, BOOK.TITLE); -
mapping
public static final <T1, R extends Record1<T1>, U> RecordMapper<R,U> mapping(Function1<? super T1,? extends U> function)Create aRecordMapperthat can map fromRecord1to a user type in a type safe way. -
mapping
public static final <T1, T2, R extends Record2<T1, T2>, U> RecordMapper<R,U> mapping(Function2<? super T1,? super T2,? extends U> function)Create aRecordMapperthat can map fromRecord2to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, R extends Record3<T1, T2, T3>, U> RecordMapper<R,U> mapping(Function3<? super T1,? super T2,? super T3,? extends U> function)Create aRecordMapperthat can map fromRecord3to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, T4, R extends Record4<T1, T2, T3, T4>, U> RecordMapper<R,U> mapping(Function4<? super T1,? super T2,? super T3,? super T4,? extends U> function)Create aRecordMapperthat can map fromRecord4to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, T4, T5, R extends Record5<T1, T2, T3, T4, T5>, U> RecordMapper<R,U> mapping(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends U> function)Create aRecordMapperthat can map fromRecord5to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, T4, T5, T6, R extends Record6<T1, T2, T3, T4, T5, T6>, U> RecordMapper<R,U> mapping(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends U> function)Create aRecordMapperthat can map fromRecord6to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, T4, T5, T6, T7, R extends Record7<T1, T2, T3, T4, T5, T6, T7>, U> RecordMapper<R,U> mapping(Function7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? extends U> function)Create aRecordMapperthat can map fromRecord7to a user type in a type safe way. -
mapping
public static final <T1, T2, T3, T4, T5, T6, T7, T8, R extends Record8<T1, T2, T3, T4, T5, T6, T7, T8>, U> RecordMapper<R,U> mapping(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends U> function)Create aRecordMapperthat can map fromRecord8to a user type in a type safe way. -
mapping
public static final <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> mapping(Function9<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? super T9,? extends U> function)Create aRecordMapperthat can map fromRecord9to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord10to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord11to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord12to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord13to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord14to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord15to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord16to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord17to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord18to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord19to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord20to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord21to a user type in a type safe way. -
mapping
public static final <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> 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 aRecordMapperthat can map fromRecord22to a user type in a type safe way.
-