public class DB_MySql_Opera extends Object implements I_TableOperation
| 限定符和类型 | 字段和说明 |
|---|---|
static LinkedList<Class> |
onUpdateApplied |
| 构造器和说明 |
|---|
DB_MySql_Opera(JbaTemplate jbaTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createTable(TableProperties tbl)
创建表
|
void |
dropTable(TableProperties tbl)
删除表结构
|
boolean |
isTableExists(String tblName)
判断表结构是否存在
|
String |
updateIndex(TableProperties tbl,
boolean created)
更新索引
|
void |
updateTable(TableProperties tbl)
更新表结构
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitDatapublic static final LinkedList<Class> onUpdateApplied
public DB_MySql_Opera(JbaTemplate jbaTemplate)
public boolean isTableExists(String tblName)
I_TableOperationisTableExists 在接口中 I_TableOperationtblName - 表名public void createTable(TableProperties tbl)
I_TableOperationcreateTable 在接口中 I_TableOperationtbl - 表属性public void updateTable(TableProperties tbl)
I_TableOperationupdateTable 在接口中 I_TableOperationtbl - 表属性public void dropTable(TableProperties tbl)
I_TableOperationdropTable 在接口中 I_TableOperationtbl - 表属性public String updateIndex(TableProperties tbl, boolean created)
tbl - 表created - 是否是创建Copyright © 2019. All rights reserved.