Uses of Interface
org.jooq.ContextConverter
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
-
Uses of ContextConverter in org.jooq
Modifier and TypeMethodDescriptiondefault <X> @NotNull ContextConverter<T,
X> Chain a converter to this converter.default @NotNull ContextConverter<T[],
U[]> ContextConverter.forArrays()
Turn this converter into a converter for arrays.static <T,
U> ContextConverter<T[], U[]> Converters.forArrays
(ContextConverter<T, U> converter) Create a converter that can convert arrays with the component types being the argument converter's types.static <T,
U> @NotNull ContextConverter<T, U> ContextConverter.from
(Class<T> fromType, Class<U> toType, BiFunction<? super T, ? super ConverterContext, ? extends U> from) Construct a new read-only converter from a function.@NotNull ContextConverter<?,
T> DataType.getConverter()
Get the converter associated with this data type.@NotNull ContextConverter<?,
T> Typed.getConverter()
The object's underlyingConverter
.static <T> @NotNull ContextConverter<T,
T> Create an identity converter.default @NotNull ContextConverter<U,
T> ContextConverter.inverse()
Inverse this converter.static <T,
U> ContextConverter<U, T> Converters.inverse
(ContextConverter<T, U> converter) Inverse a converter.static <T,
U> @NotNull ContextConverter<T, U> ContextConverter.of
(Class<T> fromType, Class<U> toType, BiFunction<? super T, ? super ConverterContext, ? extends U> from, BiFunction<? super U, ? super ConverterContext, ? extends T> to) Construct a new converter from functions.static <T,
U> @NotNull ContextConverter<T, U> Converters.of()
Deprecated, for removal: This API element is subject to removal in a future version.- [#10689] - 3.14.0 - This converter does not work.static <T,
X1, X2, X3, U>
@NotNull ContextConverter<T,U> Converters.of
(Converter<T, ? extends X1> c1, Converter<? super X1, ? extends X2> c2, Converter<? super X2, ? extends X3> c3, Converter<? super X3, U> c4) Chain four converters.static <T,
X1, X2, U>
@NotNull ContextConverter<T,U> Converters.of
(Converter<T, ? extends X1> c1, Converter<? super X1, ? extends X2> c2, Converter<? super X2, U> c3) Chain three converters.static <T,
X1, U> @NotNull ContextConverter<T, U> Chain two converters.static <T,
U> @NotNull ContextConverter<T, U> Deprecated, for removal: This API element is subject to removal in a future version.- [#10689] - 3.14.0 - This method does not provide any useful functionality and will be removed in the future.static <T,
U> @NotNull ContextConverter<T, U> ContextConverter.ofNullable
(Class<T> fromType, Class<U> toType, BiFunction<? super T, ? super ConverterContext, ? extends U> from, BiFunction<? super U, ? super ConverterContext, ? extends T> to) Construct a new converter from functions.static <T,
U> @NotNull ContextConverter<T, U> Turn aConverter
into aContextConverter
.static <T,
U> @NotNull ContextConverter<T, U> ContextConverter.to
(Class<T> fromType, Class<U> toType, BiFunction<? super U, ? super ConverterContext, ? extends T> to) Construct a new write-only converter from a function.Modifier and TypeMethodDescriptionstatic <T,
U> Converter<T, U> Converters.forArrayComponents
(ContextConverter<T[], U[]> converter) Create a converter that can convert component types based on the argument converter, which converts array types.static <T,
U> ContextConverter<T[], U[]> Converters.forArrays
(ContextConverter<T, U> converter) Create a converter that can convert arrays with the component types being the argument converter's types.static <T,
U> ContextConverter<U, T> Converters.inverse
(ContextConverter<T, U> converter) Inverse a converter. -
Uses of ContextConverter in org.jooq.impl
Modifier and TypeClassDescriptionclass
class
AutoConverter<T,
U> A base class for automatic conversion usingConfiguration.converterProvider()
.final class
Deprecated.- 3.15.0 - [#11505] - UseConverter.ofNullable(Class, Class, Function, Function)
instead, e.g.class
DelegatingConverter<T,
U> final class
A converter that doesn't convert anything.final class
JPAConverter<T,
U> A converter that delegates data type conversions to a JPAAttributeConverter
.final class
Deprecated.- 3.15.0 - [#11505] - UseConverter.ofNullable(Class, Class, Function, Function)
instead, e.g.final class
Deprecated.- 3.15.0 - [#11505] - UseConverter.ofNullable(Class, Class, Function, Function)
instead, e.g.