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 java.lang.Object implements IDatabaseStatement
Drops the DB2 Tablespace
-
-
Constructor Summary
Constructors Constructor Description Db2DropTablespace(java.lang.String tablespaceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.protected boolean
tablespaceExists(IDatabaseTranslator translator, java.sql.Connection c)
Check if the given tablespace exists
-
-
-
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
-
tablespaceExists
protected boolean tablespaceExists(IDatabaseTranslator translator, java.sql.Connection c)
Check if the given tablespace exists- Parameters:
translator
-c
-- Returns:
-
-