Package com.ibm.fhir.bucket.persistence
Class GetLogicalIds
- java.lang.Object
-
- com.ibm.fhir.bucket.persistence.GetLogicalIds
-
- All Implemented Interfaces:
IDatabaseStatement
public class GetLogicalIds extends java.lang.Object implements IDatabaseStatement
Fetch a batch of roughly random patientIds. Should not be used for any statistical purposes, because the randomness is not guaranteed.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<java.lang.String>
logicalIds
(package private) java.lang.String
schemaName
-
Constructor Summary
Constructors Constructor Description GetLogicalIds(java.lang.String schemaName, java.util.List<java.lang.String> logicalIds, java.lang.String resourceType, int maxCount)
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.
-
-
-
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
-
-