Package com.ibm.fhir.database.utils.db2
Class Db2AddTablePartition
- java.lang.Object
-
- com.ibm.fhir.database.utils.db2.Db2AddTablePartition
-
- All Implemented Interfaces:
IDatabaseStatement
public class Db2AddTablePartition extends java.lang.Object implements IDatabaseStatement
DB2 Add Table Partition
-
-
Constructor Summary
Constructors Constructor Description Db2AddTablePartition(java.lang.String schemaName, java.lang.String tableName, int partitionId, java.lang.String tablespaceName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
buildSqlString()
Generate the SQL string (DDL) we want to executevoid
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
buildSqlString
protected java.lang.String buildSqlString()
Generate the SQL string (DDL) we want to execute- Returns:
-
-