org.opencms.setup.update6to7.generic
Class CmsUpdateDBCreateIndexes7

java.lang.Object
  extended by org.opencms.setup.update6to7.A_CmsUpdateDBPart
      extended by org.opencms.setup.update6to7.generic.CmsUpdateDBCreateIndexes7
All Implemented Interfaces:
I_CmsUpdateDBPart
Direct Known Subclasses:
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
Version:
$Revision: 1.2 $
Author:
Roland Metzler

Field Summary
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.update6to7.A_CmsUpdateDBPart
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX
 
Constructor Summary
CmsUpdateDBCreateIndexes7()
          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

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 class A_CmsUpdateDBPart
Parameters:
dbCon - the db connection interface
See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)