Class SearchParamExtractorService
java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
extractFromResource
(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ResourceIndexedSearchParams theNewParams, ResourceIndexedSearchParams theExistingParams, ResourceTable theEntity, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theFailOnInvalidReference, ISearchParamExtractor.ISearchParamFilter theSearchParamFilter) This method is responsible for scanning a resource for all of the search parameter instances.extractParamValuesAsStrings
(ca.uhn.fhir.context.RuntimeSearchParam theActiveSearchParam, org.hl7.fhir.instance.model.api.IBaseResource theResource) void
extractSearchParamComboNonUnique
(ResourceTable theEntity, ResourceIndexedSearchParams theParams) void
extractSearchParamComboUnique
(ResourceTable theEntity, ResourceIndexedSearchParams theParams) void
setContext
(ca.uhn.fhir.context.FhirContext theContext) void
setSearchParamExtractor
(ISearchParamExtractor theSearchParamExtractor) void
setStorageSettings
(StorageSettings theStorageSettings)
-
Constructor Details
-
SearchParamExtractorService
public SearchParamExtractorService()
-
-
Method Details
-
setSearchParamExtractor
-
extractFromResource
public void extractFromResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ResourceIndexedSearchParams theNewParams, ResourceIndexedSearchParams theExistingParams, ResourceTable theEntity, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theFailOnInvalidReference, @Nonnull ISearchParamExtractor.ISearchParamFilter theSearchParamFilter) This method is responsible for scanning a resource for all of the search parameter instances. I.e. for all search parameters defined for a given resource type, it extracts the associated indexes and populates theParams. -
setStorageSettings
-
setContext
-
extractParamValuesAsStrings
@Nonnull public List<String> extractParamValuesAsStrings(ca.uhn.fhir.context.RuntimeSearchParam theActiveSearchParam, org.hl7.fhir.instance.model.api.IBaseResource theResource) -
extractSearchParamComboUnique
public void extractSearchParamComboUnique(ResourceTable theEntity, ResourceIndexedSearchParams theParams) -
extractSearchParamComboNonUnique
public void extractSearchParamComboNonUnique(ResourceTable theEntity, ResourceIndexedSearchParams theParams)
-