public class DB2TableMeta extends BaseTableMeta
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) org.springframework.jdbc.core.RowMapper<Map<String,String>> |
tableMapRowMapper |
(专用程序包) org.springframework.jdbc.core.RowMapper<Table> |
tableModelRowMapper |
dialect, jdbcTemplate, logger| 构造器和说明 |
|---|
DB2TableMeta() |
| 限定符和类型 | 方法和说明 |
|---|---|
Table |
getTableByName(String tableName)
根据表名,取得表模型。
|
List<Table> |
getTableModelByName(String tableName)
根据表名,使用模糊匹配,查询系统中的表。
|
Map<String,String> |
getTablesByName(List<String> tableNames)
根据表名查询系统中的表。
|
Map<String,String> |
getTablesByName(String tableName)
根据表名,使用模糊匹配,查询系统中的表。
|
setDialect, setJdbcTemplateorg.springframework.jdbc.core.RowMapper<Table> tableModelRowMapper
public Table getTableByName(String tableName)
ITableMetatableName - 表名public Map<String,String> getTablesByName(String tableName)
ITableMetapublic List<Table> getTableModelByName(String tableName) throws Exception
ITableMetaExceptionCopyright © 2018. All rights reserved.