Class BaseSearchParamExtractor.CompositeExtractor
java.lang.Object
ca.uhn.fhir.jpa.searchparam.extractor.BaseSearchParamExtractor.CompositeExtractor
- Enclosing class:
BaseSearchParamExtractor
Extractor for composite SPs.
Extracts elements, and then recurses and applies extractors for each component SP using the element as the new root.
-
Constructor Summary
ConstructorDescriptionCompositeExtractor
(org.hl7.fhir.instance.model.api.IBaseResource theResource) -
Method Summary
Modifier and TypeMethodDescriptionvoid
extract
(ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamComposite> theParams, ca.uhn.fhir.context.RuntimeSearchParam theCompositeSearchParam, org.hl7.fhir.instance.model.api.IBase theValue, String thePath, boolean theWantLocalReferences) Extract the subcomponent index data for each component of a composite SP from an IBase element.
-
Constructor Details
-
CompositeExtractor
-
-
Method Details
-
extract
public void extract(ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamComposite> theParams, ca.uhn.fhir.context.RuntimeSearchParam theCompositeSearchParam, org.hl7.fhir.instance.model.api.IBase theValue, String thePath, boolean theWantLocalReferences) Extract the subcomponent index data for each component of a composite SP from an IBase element.- Parameters:
theParams
- will add 1 or 0 ResourceIndexedSearchParamComposite instances for theValuetheCompositeSearchParam
- the composite SPtheValue
- the focus element for the subcomponent extractionthePath
- unused api paramtheWantLocalReferences
- passed down to reference extraction
-