Class BigDecimalConverter
java.lang.Object
io.github.zero88.jooqx.datatype.basic.BigDecimalConverter
- All Implemented Interfaces:
BridgeConverter<io.vertx.sqlclient.data.Numeric,
,BigDecimal> ConverterRepr<io.vertx.sqlclient.data.Numeric,
,BigDecimal> JooqxConverter<io.vertx.sqlclient.data.Numeric,
,BigDecimal> Serializable
,org.jooq.ContextConverter<io.vertx.sqlclient.data.Numeric,
,BigDecimal> org.jooq.Converter<io.vertx.sqlclient.data.Numeric,
BigDecimal>
public final class BigDecimalConverter
extends Object
implements JooqxConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(io.vertx.sqlclient.data.Numeric vertxObject) Convert the Vert.x object to jOOQ object@NotNull Class<io.vertx.sqlclient.data.Numeric>
fromType()
io.vertx.sqlclient.data.Numeric
to
(BigDecimal jooqObject) Convert the jOOQ object to Vert.x object@NotNull Class<BigDecimal>
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
Methods inherited from interface io.github.zero88.jooqx.datatype.ConverterRepr
repr
Methods inherited from interface io.github.zero88.jooqx.datatype.JooqxConverter
inverse
-
Constructor Details
-
BigDecimalConverter
public BigDecimalConverter()
-
-
Method Details
-
from
Description copied from interface:JooqxConverter
Convert the Vert.x object to jOOQ object- Specified by:
from
in interfaceBridgeConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
from
in interfaceorg.jooq.ContextConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
from
in interfaceorg.jooq.Converter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
from
in interfaceJooqxConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Parameters:
vertxObject
- the vert.x object- Returns:
- the user object
-
to
Description copied from interface:JooqxConverter
Convert the jOOQ object to Vert.x object- Specified by:
to
in interfaceBridgeConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
to
in interfaceorg.jooq.ContextConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
to
in interfaceorg.jooq.Converter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
to
in interfaceJooqxConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Parameters:
jooqObject
- the jOOQ object- Returns:
- the Vert.x object
-
fromType
- Specified by:
fromType
in interfaceorg.jooq.Converter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
fromType
in interfaceJooqxConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Returns:
- the Vert.x data type
-
toType
- Specified by:
toType
in interfaceorg.jooq.Converter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Specified by:
toType
in interfaceJooqxConverter<io.vertx.sqlclient.data.Numeric,
BigDecimal> - Returns:
- the jOOQ data type
-