@Component public class TableStructAnalyser extends Object
Date: 2018/12/10
| 构造器和说明 |
|---|
TableStructAnalyser(DataSource dataSource) |
| 限定符和类型 | 方法和说明 |
|---|---|
TableStruct |
analyse(Connection connection,
String table) |
TableStruct |
analyse(String table) |
boolean |
existsTable(Connection connection,
String table) |
boolean |
existsTable(String tableName)
存在数据表判断
|
@Autowired public TableStructAnalyser(DataSource dataSource)
public TableStruct analyse(Connection connection, String table) throws SQLException
SQLExceptionpublic TableStruct analyse(String table) throws SQLException
SQLExceptionpublic boolean existsTable(Connection connection, String table) throws SQLException
SQLExceptionpublic boolean existsTable(String tableName) throws SQLException
tableName - tableNameSQLException - SQLExceptionCopyright © 2019. All rights reserved.