Package org.opencms.setup.db.update6to7
Class CmsUpdateDBCreateIndexes7
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update6to7.CmsUpdateDBCreateIndexes7
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
- Direct Known Subclasses:
CmsUpdateDBCreateIndexes7
,CmsUpdateDBCreateIndexes7
,CmsUpdateDBCreateIndexes7
public class CmsUpdateDBCreateIndexes7 extends A_CmsUpdateDBPart
This class creates all the indexes that are used in the database version 7.- Since:
- 7.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
QUERY_SHOW_INDEX
Constant for the sql query to read the indexes.protected static java.lang.String
REPLACEMENT_TABLENAME
Constant for the replacement of the tablename in the sql query.-
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
-
Constructor Summary
Constructors Constructor Description CmsUpdateDBCreateIndexes7()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
internalExecute(CmsSetupDb dbCon)
Does the hard work.-
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
-
-
-
Field Detail
-
QUERY_SHOW_INDEX
protected static final java.lang.String QUERY_SHOW_INDEX
Constant for the sql query to read the indexes.- See Also:
- Constant Field Values
-
REPLACEMENT_TABLENAME
protected static final java.lang.String REPLACEMENT_TABLENAME
Constant for the replacement of the tablename in the sql query.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsUpdateDBCreateIndexes7
public CmsUpdateDBCreateIndexes7() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the query properties cannot be read
-
-
Method Detail
-
internalExecute
protected void internalExecute(CmsSetupDb dbCon)
Description copied from class:A_CmsUpdateDBPart
Does the hard work.- Specified by:
internalExecute
in classA_CmsUpdateDBPart
- Parameters:
dbCon
- the db connection interface- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-