Class ReorgTable
- java.lang.Object
-
- com.ibm.fhir.database.utils.common.ReorgTable
-
- All Implemented Interfaces:
IDatabaseStatement
public class ReorgTable extends Object implements IDatabaseStatement
For databases which support it, execute the reorg table command. This is usually required after a column has been removed or added, or the type of a column has been modified (Db2). This really ought to be done via the adapter, but that will require a much bigger refactor which is not desirable at the current time.
-
-
Constructor Summary
Constructors Constructor Description ReorgTable(String schemaName, String tableName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-