Package com.ibm.fhir.database.utils.db2
Class Db2DropTablespace
- java.lang.Object
-
- com.ibm.fhir.database.utils.db2.Db2DropTablespace
-
- All Implemented Interfaces:
IDatabaseStatement
public class Db2DropTablespace extends Object implements IDatabaseStatement
Drops the DB2 Tablespace
-
-
Constructor Summary
Constructors Constructor Description Db2DropTablespace(String tablespaceName)
-
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.protected boolean
tablespaceExists(IDatabaseTranslator translator, Connection c)
Check if the given tablespace exists
-
-
-
Constructor Detail
-
Db2DropTablespace
public Db2DropTablespace(String tablespaceName)
- Parameters:
tablespaceName
-
-
-
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
-
tablespaceExists
protected boolean tablespaceExists(IDatabaseTranslator translator, Connection c)
Check if the given tablespace exists- Parameters:
translator
-c
-- Returns:
-
-