Class DropColumn
- java.lang.Object
-
- com.ibm.fhir.database.utils.common.DropColumn
-
- All Implemented Interfaces:
IDatabaseStatement
public class DropColumn extends Object implements IDatabaseStatement
Drop columns from the schema.table
-
-
Constructor Summary
Constructors Constructor Description DropColumn(String schemaName, String tableName, String... columnName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getColumnNames()
String
getSchemaName()
String
getTableName()
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
-
getSchemaName
public String getSchemaName()
- Returns:
- the schemaName
-
getTableName
public String getTableName()
- Returns:
- the tableName
-
-