java.lang.Object
org.jooq.impl.AbstractConverter<T,U>
org.jooq.impl.AbstractContextConverter<T,U>
org.jooq.impl.DelegatingConverter<T,U>
- All Implemented Interfaces:
Serializable
,ContextConverter<T,
,U> Converter<T,
U>
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal U
Read and convert a database object to a user object.final U
from
(T t, ConverterContext scope) Read and convert a database object to a user object.final T
Convert and write a user object to a database object.final T
to
(U u, ConverterContext scope) Convert and write a user object to a database object.toString()
Methods inherited from class org.jooq.impl.AbstractConverter
fromType, toType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jooq.ContextConverter
andThen, forArrays, inverse
-
Constructor Details
-
DelegatingConverter
-
-
Method Details
-
from
Description copied from interface:ContextConverter
Read and convert a database object to a user object.- Parameters:
t
- The database object.scope
- The context of this conversion.- Returns:
- The user object.
-
from
Description copied from interface:Converter
Read and convert a database object to a user object.- Parameters:
t
- The database object.- Returns:
- The user object.
-
to
Description copied from interface:ContextConverter
Convert and write a user object to a database object.- Parameters:
u
- The user object.scope
- The context of this conversion.- Returns:
- The database object.
-
to
Description copied from interface:Converter
Convert and write a user object to a database object.- Parameters:
u
- The user object.- Returns:
- The database object.
-
toString
- Overrides:
toString
in classAbstractContextConverter<T,
U>
-