Package ca.uhn.fhir.jpa.search
Class SearchStrategyFactory
java.lang.Object
ca.uhn.fhir.jpa.search.SearchStrategyFactory
Figure out how we're going to run the query up front, and build a branchless strategy object.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSearchStrategyFactory
(JpaStorageSettings theStorageSettings, IFulltextSearchSvc theFulltextSearchSvc) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSupportsHSearchDirect
(String theResourceType, SearchParameterMap theParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) makeDirectStrategy
(String theSearchUUID, String theResourceType, SearchParameterMap theParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
Constructor Details
-
SearchStrategyFactory
public SearchStrategyFactory(JpaStorageSettings theStorageSettings, @Nullable IFulltextSearchSvc theFulltextSearchSvc)
-
-
Method Details
-
isSupportsHSearchDirect
public boolean isSupportsHSearchDirect(String theResourceType, SearchParameterMap theParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
makeDirectStrategy
public SearchStrategyFactory.ISearchStrategy makeDirectStrategy(String theSearchUUID, String theResourceType, SearchParameterMap theParams, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-