Class FetchResourceChangesDAO
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.FetchResourceChangesDAO
-
public class FetchResourceChangesDAO extends java.lang.Object
Simple DAO to read records from the RESOURCE_CHANGE_LOG table
-
-
Constructor Summary
Constructors Constructor Description FetchResourceChangesDAO(IDatabaseTranslator tx, java.lang.String schemaName, int resourceCount, java.time.Instant sinceTstamp, java.time.Instant beforeTstamp, java.lang.Long changeIdMarker, java.util.List<java.lang.Integer> resourceTypeIds, boolean excludeTransactionTimeoutWindow, HistorySortOrder historySortOrder)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ResourceChangeLogRecord>
run(java.sql.Connection c)
Run the DAO command on the database connection
-
-
-
Constructor Detail
-
FetchResourceChangesDAO
public FetchResourceChangesDAO(IDatabaseTranslator tx, java.lang.String schemaName, int resourceCount, java.time.Instant sinceTstamp, java.time.Instant beforeTstamp, java.lang.Long changeIdMarker, java.util.List<java.lang.Integer> resourceTypeIds, boolean excludeTransactionTimeoutWindow, HistorySortOrder historySortOrder)
Public constructor- Parameters:
tx
-schemaName
-resourceCount
-sinceTstamp
-beforeTstamp
-afterResourceId
-resourceTypeIds
-excludeTransactionTimeoutWindow
-historySortOrder
-
-
-
Method Detail
-
run
public java.util.List<ResourceChangeLogRecord> run(java.sql.Connection c) throws FHIRPersistenceException
Run the DAO command on the database connection- Parameters:
c
-- Returns:
- Throws:
FHIRPersistenceException
-
-