Interface ISearchBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Iterator<Long> createCountQuery​(SearchParameterMap theParams, String theSearchUuid, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)  
      IResultIterator createQuery​(SearchParameterMap theParams, SearchRuntimeDetails theSearchRuntime, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId)  
      Set<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> loadIncludes​(ca.uhn.fhir.context.FhirContext theContext, javax.persistence.EntityManager theEntityManager, Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theMatches, Set<ca.uhn.fhir.model.api.Include> theRevIncludes, boolean theReverseMode, ca.uhn.fhir.rest.param.DateRangeParam theLastUpdated, String theSearchIdOrDescription, ca.uhn.fhir.rest.api.server.RequestDetails theRequest, Integer theMaxCount)  
      void loadResourcesByPid​(Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> thePids, Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theIncludedPids, List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceListToPopulate, boolean theForHistoryOperation, ca.uhn.fhir.rest.api.server.RequestDetails theDetails)  
      void setFetchSize​(int theFetchSize)
      How many results may be fetched at once
      void setMaxResultsToFetch​(Integer theMaxResultsToFetch)  
      void setPreviouslyAddedResourcePids​(List<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> thePreviouslyAddedResourcePids)  
    • Method Detail

      • loadResourcesByPid

        void loadResourcesByPid​(Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> thePids,
                                Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theIncludedPids,
                                List<org.hl7.fhir.instance.model.api.IBaseResource> theResourceListToPopulate,
                                boolean theForHistoryOperation,
                                ca.uhn.fhir.rest.api.server.RequestDetails theDetails)
      • loadIncludes

        Set<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> loadIncludes​(ca.uhn.fhir.context.FhirContext theContext,
                                                                                   javax.persistence.EntityManager theEntityManager,
                                                                                   Collection<ca.uhn.fhir.rest.api.server.storage.ResourcePersistentId> theMatches,
                                                                                   Set<ca.uhn.fhir.model.api.Include> theRevIncludes,
                                                                                   boolean theReverseMode,
                                                                                   ca.uhn.fhir.rest.param.DateRangeParam theLastUpdated,
                                                                                   String theSearchIdOrDescription,
                                                                                   ca.uhn.fhir.rest.api.server.RequestDetails theRequest,
                                                                                   Integer theMaxCount)
      • setFetchSize

        void setFetchSize​(int theFetchSize)
        How many results may be fetched at once