Class GetSequenceNextValueDAO
- java.lang.Object
- 
- com.ibm.fhir.database.utils.common.GetSequenceNextValueDAO
 
- 
- All Implemented Interfaces:
- IDatabaseSupplier<Long>
 
 public class GetSequenceNextValueDAO extends Object implements IDatabaseSupplier<Long> DAO to create a free tenant slot (to align with a new partition)
- 
- 
Constructor SummaryConstructors Constructor Description GetSequenceNextValueDAO(String schemaName, String sequenceName)DAO to get the next value from the named sequence
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Longrun(IDatabaseTranslator translator, Connection c)Execute the encapsulated query against the database and stream the result data to the configured target
 
- 
- 
- 
Method Detail- 
runpublic Long run(IDatabaseTranslator translator, Connection c) Execute the encapsulated query against the database and stream the result data to the configured target- Specified by:
- runin interface- IDatabaseSupplier<Long>
- Parameters:
- c-
- translator- to translate any exceptions
 
 
- 
 
-