Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • schemaName

        final java.lang.String schemaName
      • logicalIds

        final java.util.List<java.lang.String> logicalIds
    • Constructor Detail

      • GetLogicalIds

        public GetLogicalIds​(java.lang.String schemaName,
                             java.util.List<java.lang.String> logicalIds,
                             java.lang.String resourceType,
                             int maxCount)
        Public constructor
        Parameters:
        schemaName -
        logicalIds -
        resourceType -
        maxCount -
    • Method Detail