Class AllocateJobs
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.persistence.AllocateJobs
-
- All Implemented Interfaces:
IDatabaseStatement
public class AllocateJobs extends java.lang.Object implements IDatabaseStatement
DAO to encapsulate all the SQL/DML used to retrieve and persist data in the schema
-
-
Constructor Summary
Constructors Constructor Description AllocateJobs(java.lang.String schemaName, java.util.List<BucketLoaderJob> jobList, FileType fileType, long loaderInstanceId, int free, java.util.Collection<BucketPath> bucketPaths)
Public constructor
-
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.
-
-
-
Constructor Detail
-
AllocateJobs
public AllocateJobs(java.lang.String schemaName, java.util.List<BucketLoaderJob> jobList, FileType fileType, long loaderInstanceId, int free, java.util.Collection<BucketPath> bucketPaths)
Public constructor- Parameters:
schemaName
-jobList
-fileType
-loaderInstanceId
-free
-bucketPaths
-
-
-
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
-
-