Interface IBatch2DaoSvc


public interface IBatch2DaoSvc
  • Method Details

    • isAllResourceTypeSupported

      Indicates whether reindexing all resource types is supported. Implementations are expected to provide a static response (either they support this or they don't).
    • fetchResourceIdsPage

      default IResourcePidList fetchResourceIdsPage(Date theStart, Date theEnd, @Nullable RequestPartitionId theRequestPartitionId, @Nullable String theUrl)
      Fetches a page of resource IDs for all resource types. The page size is up to the discretion of the implementation.
      Parameters:
      theStart - The start of the date range, must be inclusive.
      theEnd - The end of the date range, should be exclusive.
      theRequestPartitionId - The request partition ID (may be null on non-partitioned systems)
      theUrl - The search URL, or null to return IDs for all resources across all resource types. Null will only be supplied if isAllResourceTypeSupported() returns true.
    • fetchResourceIdsPage

      @Deprecated default IResourcePidList fetchResourceIdsPage(Date theStart, Date theEnd, @Nonnull Integer thePageSize, @Nullable RequestPartitionId theRequestPartitionId, @Nullable String theUrl)
      Deprecated.
      Please call (@link fetchResourceIdsPage(Date, Date, RequestPartitionId, String) instead.

      Fetches a page of resource IDs for all resource types. The page size is up to the discretion of the implementation.

      Parameters:
      theStart - The start of the date range, must be inclusive.
      theEnd - The end of the date range, should be exclusive.
      thePageSize - The number of records to query in each pass.
      theRequestPartitionId - The request partition ID (may be null on non-partitioned systems)
      theUrl - The search URL, or null to return IDs for all resources across all resource types. Null will only be supplied if isAllResourceTypeSupported() returns true.
    • fetchResourceIdStream

      default IResourcePidStream fetchResourceIdStream(Date theStart, Date theEnd, RequestPartitionId theTargetPartitionId, String theUrl)
    • streamSourceIdsThatReferenceTargetId

      default Stream<ca.uhn.fhir.model.primitive.IdDt> streamSourceIdsThatReferenceTargetId(org.hl7.fhir.instance.model.api.IIdType theTargetId)
      Stream Resource Ids of all resources that have a reference to the provided resource id
      Parameters:
      theTargetId - the id of the resource we are searching for references to