类 H2TablesMapper
java.lang.Object
org.dromara.autotable.core.strategy.h2.mapper.H2TablesMapper
创建更新表结构的Mapper
- 作者:
- don
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明findColumnInformation(String tableSchema, String tableName) 根据表名查询库中该表的字段结构等信息findIndexInformation(String tableSchema, String tableName) 查询指定表的所有主键和索引信息findTableInformation(String tableSchema, String tableName) 根据表名查询表在库中是否存在
-
构造器详细资料
-
H2TablesMapper
public H2TablesMapper()
-
-
方法详细资料
-
findTableInformation
根据表名查询表在库中是否存在- 参数:
tableSchema- schema名tableName- 表名- 返回:
- InformationSchemaTables
-
findColumnInformation
根据表名查询库中该表的字段结构等信息- 参数:
tableSchema- schema名tableName- 表名- 返回:
- 表的字段结构等信息
-
findIndexInformation
查询指定表的所有主键和索引信息- 参数:
tableSchema- schema名tableName- 表名- 返回:
- 所有主键和索引信息
-