接口的使用
org.dromara.autotable.core.strategy.IStrategy
使用IStrategy的程序包
程序包
说明
h2数据的策略实现
MySQL策略实现
PgSQL策略实现
SQLite策略实现
-
org.dromara.autotable.core中IStrategy的使用
类型参数类型为IStrategy的org.dromara.autotable.core中的字段修饰符和类型字段说明private static final Map<String, IStrategy<? extends TableMetadata, ? extends CompareTableInfo, ?>> AutoTableGlobalConfig.STRATEGY_MAP返回变量类型为IStrategy的类型的org.dromara.autotable.core中的方法参数类型为IStrategy的org.dromara.autotable.core中的方法修饰符和类型方法说明static voidAutoTableGlobalConfig.addStrategy(IStrategy<? extends TableMetadata, ? extends CompareTableInfo, ?> strategy) -
org.dromara.autotable.core.strategy.h2中IStrategy的使用
-
org.dromara.autotable.core.strategy.mysql中IStrategy的使用
修饰符和类型类说明class项目启动时自动扫描配置的目录中的model,根据配置的规则自动创建或更新表 该逻辑只适用于mysql,其他数据库尚且需要另外扩展,因为sql的语法不同 -
org.dromara.autotable.core.strategy.pgsql中IStrategy的使用
-
org.dromara.autotable.core.strategy.sqlite中IStrategy的使用