Package com.ibm.fhir.bucket.persistence
Class GetLastProcessedLineNumber
- java.lang.Object
-
- com.ibm.fhir.bucket.persistence.GetLastProcessedLineNumber
-
- All Implemented Interfaces:
IDatabaseSupplier<Integer>
public class GetLastProcessedLineNumber extends Object implements IDatabaseSupplier<Integer>
Finds the greater line number successfully processed for a particular resource bundle
-
-
Constructor Summary
Constructors Constructor Description GetLastProcessedLineNumber(String schemaName, long resourceBundleId, int version)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the value
-
-
-
Constructor Detail
-
GetLastProcessedLineNumber
public GetLastProcessedLineNumber(String schemaName, long resourceBundleId, int version)
Public constructor- Parameters:
schemaName
-resourceBundleId
-version
-
-
-
Method Detail
-
run
public Integer run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseSupplier
Execute the statement using the connection and return the value- Specified by:
run
in interfaceIDatabaseSupplier<Integer>
- Parameters:
translator
- to translate any exceptions
-
-