Class DurationConverter
java.lang.Object
io.github.zero88.jooqx.spi.pg.datatype.DurationConverter
- All Implemented Interfaces:
BridgeConverter<org.jooq.types.YearToSecond,
,Duration> ConverterRepr<org.jooq.types.YearToSecond,
,Duration> DataTypeMapper<io.vertx.pgclient.data.Interval,
,org.jooq.types.YearToSecond, Duration> Serializable
,org.jooq.ContextConverter<org.jooq.types.YearToSecond,
,Duration> org.jooq.Converter<org.jooq.types.YearToSecond,
Duration>
public final class DurationConverter
extends Object
implements DataTypeMapper<io.vertx.pgclient.data.Interval,org.jooq.types.YearToSecond,Duration>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(org.jooq.types.YearToSecond databaseObject) @NotNull Class<org.jooq.types.YearToSecond>
fromType()
JooqxConverter<io.vertx.pgclient.data.Interval,
org.jooq.types.YearToSecond> Defines jooqx converter betweenVert.x
data type as database data type andjOOQ
data type as intermediate type is used in recordorg.jooq.types.YearToSecond
toType()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.zero88.jooqx.datatype.BridgeConverter
from, to
Methods inherited from interface org.jooq.ContextConverter
andThen, forArrays, inverse
Methods inherited from interface io.github.zero88.jooqx.datatype.DataTypeMapper
fromVtoU, repr, toVFromU
-
Constructor Details
-
DurationConverter
public DurationConverter()
-
-
Method Details
-
jooqxConverter
Description copied from interface:DataTypeMapper
Defines jooqx converter betweenVert.x
data type as database data type andjOOQ
data type as intermediate type is used in record- Specified by:
jooqxConverter
in interfaceDataTypeMapper<io.vertx.pgclient.data.Interval,
org.jooq.types.YearToSecond, Duration> - Returns:
- jooqx converter
- See Also:
-
from
- Specified by:
from
in interfaceBridgeConverter<org.jooq.types.YearToSecond,
Duration> - Specified by:
from
in interfaceorg.jooq.ContextConverter<org.jooq.types.YearToSecond,
Duration> - Specified by:
from
in interfaceorg.jooq.Converter<org.jooq.types.YearToSecond,
Duration>
-
to
- Specified by:
to
in interfaceBridgeConverter<org.jooq.types.YearToSecond,
Duration> - Specified by:
to
in interfaceorg.jooq.ContextConverter<org.jooq.types.YearToSecond,
Duration> - Specified by:
to
in interfaceorg.jooq.Converter<org.jooq.types.YearToSecond,
Duration>
-
fromType
- Specified by:
fromType
in interfaceorg.jooq.Converter<org.jooq.types.YearToSecond,
Duration>
-
toType
- Specified by:
toType
in interfaceorg.jooq.Converter<org.jooq.types.YearToSecond,
Duration>
-