|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.update6to7.A_CmsUpdateDBPart
org.opencms.setup.update6to7.generic.CmsUpdateDBDropOldIndexes
public class CmsUpdateDBDropOldIndexes
This class drops all indexes of each table of the database.
This is done so that the indexes can be updated to the version 6.2.3 and afterwards to version 7
Field Summary | |
---|---|
protected static java.lang.String[] |
CMS_TABLES
Constant array of the base tables of the OpenCms 6.2.3 installation. |
protected static java.util.List |
CMS_TABLES_LIST
Constant ArrayList of the tables of the base OpenCms 6.2.3 installation. |
protected static java.lang.String |
QUERY_DROP_INDEX
Constant for the sql query to drop an index from a table. |
protected static java.lang.String |
QUERY_SHOW_INDEX
Constant for the sql query to show the indexes of a table. |
protected static java.lang.String |
REPLACEMENT_TABLENAME
Constant for the sql query replacement of the tablename. |
Fields inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart |
---|
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX |
Constructor Summary | |
---|---|
CmsUpdateDBDropOldIndexes()
Constructor. |
Method Summary | |
---|---|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work. |
Methods inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart |
---|
execute, getDbInstance, getPoolData, isKeepHistory, loadQueryProperties, readQuery, setPoolData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String[] CMS_TABLES
protected static final java.util.List CMS_TABLES_LIST
protected static final java.lang.String QUERY_DROP_INDEX
protected static final java.lang.String QUERY_SHOW_INDEX
protected static final java.lang.String REPLACEMENT_TABLENAME
Constructor Detail |
---|
public CmsUpdateDBDropOldIndexes() throws java.io.IOException
java.io.IOException
- if the query properties cannot be readMethod Detail |
---|
protected void internalExecute(CmsSetupDb dbCon)
A_CmsUpdateDBPart
internalExecute
in class A_CmsUpdateDBPart
dbCon
- the db connection interfaceA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |