Class RetrieveIndexDAO
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.dao.impl.RetrieveIndexDAO
-
public class RetrieveIndexDAO extends java.lang.Object
Simple DAO to retrieve index IDs (i.e. logical resource IDs) from the LOGICAL_RESOURCES table.
-
-
Constructor Summary
Constructors Constructor Description RetrieveIndexDAO(IDatabaseTranslator tx, java.lang.String schemaName, java.lang.String resourceTypeName, int count, java.time.Instant notModifiedAfter, java.lang.Long afterIndexId, FHIRPersistenceJDBCCache cache)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Long>
run(java.sql.Connection c)
Run the DAO command on the database connection.
-
-
-
Constructor Detail
-
RetrieveIndexDAO
public RetrieveIndexDAO(IDatabaseTranslator tx, java.lang.String schemaName, java.lang.String resourceTypeName, int count, java.time.Instant notModifiedAfter, java.lang.Long afterIndexId, FHIRPersistenceJDBCCache cache)
Public constructor.- Parameters:
tx
- translatorschemaName
- schema nameresourceTypeName
- the resource type name of index IDs to return, or nullcount
- maximum number of index IDs to returnnotModifiedAfter
- only return resources last updated at or before the specified instant, or nullafterIndexId
- only return index IDs after this index ID, or nullcache
- the cache
-
-
Method Detail
-
run
public java.util.List<java.lang.Long> run(java.sql.Connection c) throws FHIRPersistenceException
Run the DAO command on the database connection.- Parameters:
c
- connection- Returns:
- list of logical resource IDs
- Throws:
FHIRPersistenceException
-
-