
Class SearchParamExtractorService
java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidextractFromResource(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 the search parameter instances.extractParamValuesAsStrings(ca.uhn.fhir.context.RuntimeSearchParam theActiveSearchParam, org.hl7.fhir.instance.model.api.IBaseResource theResource) voidextractSearchParamComboNonUnique(ResourceTable theEntity, ResourceIndexedSearchParams theParams) voidextractSearchParamComboUnique(ResourceTable theEntity, ResourceIndexedSearchParams theParams) voidsetContext(ca.uhn.fhir.context.FhirContext theContext) voidsetSearchParamExtractor(ISearchParamExtractor theSearchParamExtractor) voidsetStorageSettings(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 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)
-