Top Constructors Methods
org.jooq.impl

public final Class TimeToLocalTimeConverter

extends AbstractContextConverter<Time, LocalTime>
Class Inheritance
Annotations
@Deprecated
Imports
java.sql.Time, java.time.LocalTime, java.util.function.Function, org.jooq.Converter, .ConverterContext

Deprecated

- 3.15.0 - [#11505] - Use Converter#ofNullable(Class, Class, Function, Function) instead, e.g. Converter.ofNullable(Time.class, LocalTime.class, Time::toLocalTime, Time::valueOf).

Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final LocalTime
from(Time
The database object.
t
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.from.

Read and convert a database object to a user object.
public final Time
to(LocalTime
The user object.
u
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.to.

Convert and write a user object to a database object.
Inherited from org.jooq.impl.AbstractContextConverter:
toString

Constructor Detail

TimeToLocalTimeConverterback to summary
public TimeToLocalTimeConverter()

Method Detail

fromback to summary
public final LocalTime from(Time t, ConverterContext scope)

Implements org.jooq.ContextConverter.from.

Doc from org.jooq.ContextConverter.from.

Read and convert a database object to a user object.

Parameters
t:Time

The database object.

scope:ConverterContext

The context of this conversion.

Returns:LocalTime

The user object.

Annotations
@Override
toback to summary
public final Time to(LocalTime u, ConverterContext scope)

Implements org.jooq.ContextConverter.to.

Doc from org.jooq.ContextConverter.to.

Convert and write a user object to a database object.

Parameters
u:LocalTime

The user object.

scope:ConverterContext

The context of this conversion.

Returns:Time

The database object.

Annotations
@Override