Class SearchParamExtractorService

java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorService

public class SearchParamExtractorService extends Object
  • Constructor Details

  • Method Details

    • setSearchParamExtractor

      public void setSearchParamExtractor(ISearchParamExtractor theSearchParamExtractor)
    • extractFromResource

      public void extractFromResource(ca.uhn.fhir.interceptor.model.RequestPartitionId theRequestPartitionId, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ResourceIndexedSearchParams theParams, ResourceTable theEntity, org.hl7.fhir.instance.model.api.IBaseResource theResource, ca.uhn.fhir.rest.api.server.storage.TransactionDetails theTransactionDetails, boolean theFailOnInvalidReference)
      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.
    • setModelConfig

      public void setModelConfig(ModelConfig theModelConfig)
    • setContext

      public void setContext(ca.uhn.fhir.context.FhirContext theContext)
    • extractParamValuesAsStrings

      @Nonnull public List<String> extractParamValuesAsStrings(ca.uhn.fhir.context.RuntimeSearchParam theActiveSearchParam, org.hl7.fhir.instance.model.api.IBaseResource theResource)