Uses of Interface
org.jooq.Function2
Packages that use Function2
-
Uses of Function2 in org.jooq
Modifier and TypeMethodDescriptionstatic final <T1,
T2, R> @NotNull Function2<T1, T2, R> Functions.nullOnAllNull
(Function2<? super T1, ? super T2, ? extends R> function) A function that short circuits the argument function returningnull
if all arguments arenull
.static final <T1,
T2, R> @NotNull Function2<T1, T2, R> Functions.nullOnAnyNull
(Function2<? super T1, ? super T2, ? extends R> function) A function that short circuits the argument function returningnull
if any argument isnull
.Modifier and TypeMethodDescriptionstatic final <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.<U> @NotNull SelectField<U>
A convenience method to define a localRecord2
to custom typeRecordMapper
that can be used when projectingRow
types inSELECT
orRETURNING
clauses.<U> @NotNull SelectField<U>
A convenience method to define a localRecord2
to custom typeRecordMapper
that can be used when projectingRow
types inSELECT
orRETURNING
clauses.static final <T1,
T2, R> @NotNull Function2<T1, T2, R> Functions.nullOnAllNull
(Function2<? super T1, ? super T2, ? extends R> function) A function that short circuits the argument function returningnull
if all arguments arenull
.static final <T1,
T2, R> @NotNull Function2<T1, T2, R> Functions.nullOnAnyNull
(Function2<? super T1, ? super T2, ? extends R> function) A function that short circuits the argument function returningnull
if any argument isnull
.