java.lang.Object
org.jooq.impl.IdentityConverter<T>
- All Implemented Interfaces:
Serializable
,ContextConverter<T,
,T> Converter<T,
T>
A converter that doesn't convert anything.
- Author:
- Lukas Eder
- See Also:
-
Constructor Details
-
IdentityConverter
-
-
Method Details
-
from
Description copied from interface:ContextConverter
Read and convert a database object to a user object.Implementations that don't support this conversion are expected to override
Converter.fromSupported()
to indicate lack of support.- Specified by:
from
in interfaceContextConverter<T,
T> - Parameters:
t
- The database object.scope
- The context of this conversion.- Returns:
- The user object.
-
to
Description copied from interface:ContextConverter
Convert and write a user object to a database object.Implementations that don't support this conversion are expected to override
Converter.toSupported()
to indicate lack of support.- Specified by:
to
in interfaceContextConverter<T,
T> - Parameters:
t
- The user object.scope
- The context of this conversion.- Returns:
- The database object.
-
fromType
Description copied from interface:Converter
The database type. -
toType
Description copied from interface:Converter
The user type. -
toString
-