com.gbshape.dbe.mysql
Class MysqlTableStructure
java.lang.Object
com.gbshape.dbe.mysql.MysqlTableStructure
- All Implemented Interfaces:
- TableStructure
- public class MysqlTableStructure
- extends java.lang.Object
- implements TableStructure
Method Summary |
void |
addIndex(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
|
void |
addUnique(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
|
java.util.ArrayList |
alterAdd(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
ColumnForm columnForm)
|
void |
alterDrop(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
|
java.util.ArrayList |
alterModify(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
ColumnBean columnBean,
ColumnForm columnForm)
|
void |
changePrimary(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.util.ArrayList columns)
|
java.util.ArrayList |
create(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
CreateTableXmlBean createTableXmlBean)
|
void |
drop(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName)
|
void |
dropIndex(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
|
void |
dropPrimary(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
|
void |
dropUnique(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
|
TableStatusBean |
getStatus(DBDataBean dataBean,
java.lang.String tableName)
|
TableStructureBean |
getStructure(DBDataBean dataBean,
java.lang.String tableName)
|
void |
truncate(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MysqlTableStructure
public MysqlTableStructure()
getStatus
public TableStatusBean getStatus(DBDataBean dataBean,
java.lang.String tableName)
- Specified by:
getStatus
in interface TableStructure
getStructure
public TableStructureBean getStructure(DBDataBean dataBean,
java.lang.String tableName)
- Specified by:
getStructure
in interface TableStructure
alterModify
public java.util.ArrayList alterModify(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
ColumnBean columnBean,
ColumnForm columnForm)
- Specified by:
alterModify
in interface TableStructure
drop
public void drop(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName)
- Specified by:
drop
in interface TableStructure
truncate
public void truncate(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName)
- Specified by:
truncate
in interface TableStructure
alterDrop
public void alterDrop(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
- Specified by:
alterDrop
in interface TableStructure
alterAdd
public java.util.ArrayList alterAdd(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
ColumnForm columnForm)
- Specified by:
alterAdd
in interface TableStructure
create
public java.util.ArrayList create(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
CreateTableXmlBean createTableXmlBean)
- Specified by:
create
in interface TableStructure
dropUnique
public void dropUnique(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
- Specified by:
dropUnique
in interface TableStructure
dropIndex
public void dropIndex(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
- Specified by:
dropIndex
in interface TableStructure
dropPrimary
public void dropPrimary(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String keyName,
java.lang.String columnName)
- Specified by:
dropPrimary
in interface TableStructure
addUnique
public void addUnique(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
- Specified by:
addUnique
in interface TableStructure
addIndex
public void addIndex(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.lang.String field)
- Specified by:
addIndex
in interface TableStructure
changePrimary
public void changePrimary(javax.servlet.http.HttpServletRequest request,
DBDataBean dataBean,
java.lang.String tableName,
java.util.ArrayList columns)
- Specified by:
changePrimary
in interface TableStructure
Copyright © 2007 DB-Everywhere.com All Rights Reserved.