Class GetTenantDAO
- java.lang.Object
-
- com.ibm.fhir.database.utils.tenant.GetTenantDAO
-
- All Implemented Interfaces:
IDatabaseSupplier<Tenant>
public class GetTenantDAO extends java.lang.Object implements IDatabaseSupplier<Tenant>
DAO to create a free tenant slot (to align with a new partition)
-
-
Constructor Summary
Constructors Constructor Description GetTenantDAO(java.lang.String schemaName, java.lang.String tenantName)
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 Tenant
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection and return the value
-
-
-
Method Detail
-
run
public Tenant run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseSupplier
Execute the statement using the connection and return the value- Specified by:
run
in interfaceIDatabaseSupplier<Tenant>
- Parameters:
translator
- to translate any exceptions
-
-