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 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) List<String>
logicalIds
-
Constructor Summary
Constructors Constructor Description GetLogicalIds(List<String> logicalIds, String resourceType, int maxCount)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection.
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-