public interface Connector
| Modifier and Type | Method and Description |
|---|---|
void |
checkTablesIsExist()
检查表/视图是否存在
|
void |
closeConnection()
关闭数据库连接
|
Map<String,RenderDataDTO.Column> |
getColumns(String tableName)
获取表各个列信息
|
Connection |
getConnection()
获取数据库连接
|
DatabaseMetaData |
getDatabaseMetaData()
获取数据库元数据信息
|
String |
getTableRemark(String tableName)
获取表/视图备注
|
Connection getConnection()
void closeConnection()
DatabaseMetaData getDatabaseMetaData()
String getTableRemark(String tableName)
tableName - table nameMap<String,RenderDataDTO.Column> getColumns(String tableName)
tableName - table namevoid checkTablesIsExist()
Copyright © 2016 Le. All rights reserved.