接口的使用
com.tangzc.autotable.core.converter.DefaultTypeEnumInterface
使用DefaultTypeEnumInterface的程序包
程序包
说明
MySQL策略实现
PgSQL策略实现
SQLite策略实现
-
com.tangzc.autotable.core.converter中DefaultTypeEnumInterface的使用
修饰符和类型字段说明static final Map<String, Map<Class<?>, DefaultTypeEnumInterface>> JavaTypeToDatabaseTypeConverter.JAVA_TO_DB_TYPE_MAPPING修饰符和类型方法说明static voidJavaTypeToDatabaseTypeConverter.addTypeMapping(String databaseDialect, Class<?> clazz, DefaultTypeEnumInterface typeEnum) 添加类型映射修饰符和类型方法说明static voidJavaTypeToDatabaseTypeConverter.addTypeMapping(String databaseDialect, Map<Class<?>, DefaultTypeEnumInterface> typeEnumMap) 添加类型映射 -
com.tangzc.autotable.core.strategy中DefaultTypeEnumInterface的使用
返回变量类型为DefaultTypeEnumInterface的类型的com.tangzc.autotable.core.strategy中的方法 -
com.tangzc.autotable.core.strategy.mysql中DefaultTypeEnumInterface的使用
-
com.tangzc.autotable.core.strategy.mysql.data中DefaultTypeEnumInterface的使用
修饰符和类型类说明enum用于配置Mysql数据库中类型,并且该类型需要设置几个长度 这里配置多少个类型决定了,创建表能使用多少类型 例如:varchar(1) decimal(5,2) datetime -
com.tangzc.autotable.core.strategy.pgsql中DefaultTypeEnumInterface的使用
-
com.tangzc.autotable.core.strategy.pgsql.data中DefaultTypeEnumInterface的使用
-
com.tangzc.autotable.core.strategy.sqlite中DefaultTypeEnumInterface的使用
-
com.tangzc.autotable.core.strategy.sqlite.data中DefaultTypeEnumInterface的使用