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