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 Details

    • BigDecimalConverter

      public BigDecimalConverter()
  • Method Details

    • from

      public BigDecimal from(io.vertx.sqlclient.data.Numeric vertxObject)
      Description copied from interface: JooqxConverter
      Convert the Vert.x object to jOOQ object
      Specified by:
      from in interface BridgeConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      from in interface org.jooq.ContextConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      from in interface org.jooq.Converter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      from in interface JooqxConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Parameters:
      vertxObject - the vert.x object
      Returns:
      the user object
    • to

      public io.vertx.sqlclient.data.Numeric to(BigDecimal jooqObject)
      Description copied from interface: JooqxConverter
      Convert the jOOQ object to Vert.x object
      Specified by:
      to in interface BridgeConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      to in interface org.jooq.ContextConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      to in interface org.jooq.Converter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      to in interface JooqxConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Parameters:
      jooqObject - the jOOQ object
      Returns:
      the Vert.x object
    • fromType

      @NotNull public @NotNull Class<io.vertx.sqlclient.data.Numeric> fromType()
      Specified by:
      fromType in interface org.jooq.Converter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      fromType in interface JooqxConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Returns:
      the Vert.x data type
    • toType

      @NotNull public @NotNull Class<BigDecimal> toType()
      Specified by:
      toType in interface org.jooq.Converter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Specified by:
      toType in interface JooqxConverter<io.vertx.sqlclient.data.Numeric,BigDecimal>
      Returns:
      the jOOQ data type