public class MysqlTableIntrospect extends Object implements TableIntrospect
| Constructor and Description |
|---|
MysqlTableIntrospect(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
关闭数据库连接
|
List<String> |
getAllTables()
获取所有表名
|
TableInfo |
introspect(String tableName)
探测表信息
|
public MysqlTableIntrospect(Connection connection)
public TableInfo introspect(String tableName)
TableIntrospectintrospect in interface TableIntrospecttableName - 表名public List<String> getAllTables()
TableIntrospectgetAllTables in interface TableIntrospectpublic void closeConnection()
TableIntrospectcloseConnection in interface TableIntrospectCopyright © 2021. All rights reserved.