public interface DataType
JdbcDataType,
CustomDataType| 限定符和类型 | 方法和说明 |
|---|---|
static DataType |
builder(DataType type,
java.util.function.Function<RDBColumnMetadata,String> builder) |
static DataType |
custom(String id,
String name,
SQLType sqlType,
Class<?> javaType) |
String |
getId() |
Class<?> |
getJavaType() |
String |
getName() |
SQLType |
getSqlType() |
default boolean |
isLengthSupport() |
default boolean |
isNumber() |
default boolean |
isScaleSupport() |
static DataType |
jdbc(JDBCType jdbcType,
Class<?> javaType) |
String getId()
String getName()
SQLType getSqlType()
Class<?> getJavaType()
default boolean isScaleSupport()
default boolean isLengthSupport()
default boolean isNumber()
static DataType builder(DataType type, java.util.function.Function<RDBColumnMetadata,String> builder)
Copyright © 2023. All rights reserved.