Class AddColumn
- java.lang.Object
-
- com.ibm.fhir.database.utils.common.AddColumn
-
- All Implemented Interfaces:
IDatabaseStatement
public class AddColumn extends Object implements IDatabaseStatement
Drop columns from the schema.table
-
-
Constructor Summary
Constructors Constructor Description AddColumn(String schemaName, String tableName, ColumnBase column)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnBase
getColumn()
String
getSchemaName()
String
getTableName()
void
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection.
-
-
-
Constructor Detail
-
AddColumn
public AddColumn(String schemaName, String tableName, ColumnBase column)
Public constructor- Parameters:
schemaName
-tableName
-
-
-
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
-
getColumn
public ColumnBase getColumn()
- Returns:
- the columnNames
-
-