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