public class SdDbUtilDB2Impl extends SdAbstractDbUtil
| 构造器和说明 |
|---|
SdDbUtilDB2Impl(SdDatabaseOptions options)
初始化
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
createDatabase(SdAbstractDatabaseContent content)
创建数据库
|
boolean |
existDatabase(SdDatabaseOptions config,
String dbName)
数据库是否存在
|
boolean |
existDatabase(String dbName)
数据库是否存在
|
SdTableAttribute |
getTableAttribute(String tableName)
获取指定数据库,指定表的属性,如果不存在返回null
|
converterColumnsAttribute, converterIndexKeysAttribute, converterPortedKeysAttribute, converterPrimaryKeyAttribute, converterTableAttribute, createDatabase, createTable, deleteTable, existTable, getBaseUrlConfig, getConfig, getConnection, getConnection, getSdTable, getSdTable, getTableColumnsAttribute, getTableExportedKeysAttribute, getTableImportedKeysAttribute, getTableIndexKeysAttribute, getTableNames, getTablePrimaryKeyAttribute, setConfig, updateDatabase, updateDatabase, updateTableinstancepublic SdDbUtilDB2Impl(SdDatabaseOptions options)
options - public boolean createDatabase(SdAbstractDatabaseContent content) throws Exception
ScrewDriverDbUtilcreateDatabase 在类中 SdAbstractDbUtilcontent - 数据库创建的内容Exceptionpublic boolean existDatabase(String dbName) throws Exception
ScrewDriverDbUtilexistDatabase 在类中 SdAbstractDbUtildbName - 数据库名称Exceptionpublic boolean existDatabase(SdDatabaseOptions config, String dbName) throws Exception
ScrewDriverDbUtilexistDatabase 在类中 ScrewDriverDbUtilconfig - 数据库连接信息dbName - 数据库名称Exceptionpublic SdTableAttribute getTableAttribute(String tableName) throws Exception
ScrewDriverDbUtilgetTableAttribute 在类中 SdAbstractDbUtilExceptionCopyright © 2019 Mirren Tools. All rights reserved.