Class UpdateTenantStatusDAO
- java.lang.Object
-
- com.ibm.fhir.database.utils.tenant.UpdateTenantStatusDAO
-
- All Implemented Interfaces:
IDatabaseStatement
public class UpdateTenantStatusDAO extends Object implements IDatabaseStatement
DAO to create a free tenant slot (to align with a new partition)
-
-
Constructor Summary
Constructors Constructor Description UpdateTenantStatusDAO(String schemaName, int tenantId, TenantStatus tenantStatus)
Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table
-
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.
-
-
-
Constructor Detail
-
UpdateTenantStatusDAO
public UpdateTenantStatusDAO(String schemaName, int tenantId, TenantStatus tenantStatus)
Get partition information for all tables in the tableSchema, using the catalogSchema as the schema containing the DATAPARTITIONS system table- Parameters:
schemaName
-tenantId
-tenantStatus
-
-
-
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
-
-