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 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, @Nullable RequestPartitionId theRequestPartitionId)
      Parameters:
      theRequestPartitionId - This parameter should only be provided if a fixed partition should be used for the search. If set to null (which is generally the right thing to do), the partition will be determined by the partition selection interceptor.
    • getSearchTotal

      Optional<Integer> getSearchTotal(String theUuid, @Nullable ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, RequestPartitionId theRequestPartitionId)
      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