Interface ISearchCoordinatorSvc<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>


public interface ISearchCoordinatorSvc<T extends ca.uhn.fhir.rest.api.server.storage.IResourcePersistentId>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    getResources(String theUuid, int theFrom, int theTo, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId)
     
    getSearchTotal(String theUuid, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
    Fetch the total number of search results for the given currently executing search, if one is currently executing and the total is known.
    ca.uhn.fhir.rest.api.server.IBundleProvider
    registerSearch(IFhirResourceDao<?> theCallingDao, SearchParameterMap theParams, String theResourceType, ca.uhn.fhir.rest.api.CacheControlDirective theCacheControlDirective, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId)
     
  • Method Details

    • cancelAllActiveSearches

    • getResources

      List<T> getResources(String theUuid, int theFrom, int theTo, @Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId)
    • registerSearch

      ca.uhn.fhir.rest.api.server.IBundleProvider registerSearch(IFhirResourceDao<?> theCallingDao, SearchParameterMap theParams, String theResourceType, ca.uhn.fhir.rest.api.CacheControlDirective theCacheControlDirective, @Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId)
    • getSearchTotal

      Optional<Integer> getSearchTotal(String theUuid, @Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
      Fetch the total number of search results for the given currently executing search, if one is currently executing and the total is known. Will return empty otherwise