Package io.github.zero88.jooqx.datatype
Interface UserTypeAsVertxType<V,J>
- Type Parameters:
V
- The Vert.x SQL data type and a user typeJ
- The jOOQ type - i.e. any type available fromSQLDataType
- All Superinterfaces:
BridgeConverter<J,
,V> org.jooq.ContextConverter<J,
,V> org.jooq.Converter<J,
,V> ConverterRepr<J,
,V> DataTypeMapper<V,
,J, V> JooqxConverter<J,
,V> Serializable
It is short form of
DataTypeMapper
that means a record field
is used a user type that is same with
Vert.x SQL data type
- See Also:
-
DataTypeMapper
Converter
- API Note:
- It is inverse of default
JooqxConverter
and required your application generate custom data types as Vert.x type. See jOOQ generation
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V,
J> UserTypeAsVertxType<V, J> create
(@NotNull JooqxConverter<V, J> jooqxConverter) Create new instance UserTypeAsVertxType byJooqxConverter
default JooqxConverter<V,
J> Defines jooqx converter betweenVert.x
data type as database data type andjOOQ
data type as intermediate type is used in recordMethods 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.DataTypeMapper
fromVtoU, repr, toVFromU
-
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<V,
J, V> - Returns:
- jooqx converter
- See Also:
-
create
Create new instance UserTypeAsVertxType byJooqxConverter
- Type Parameters:
V
- The Vert.x SQL data type and a user typeJ
- The jOOQ type- Parameters:
jooqxConverter
- jooqx converter- Returns:
- new instance
-