Class SearchIncludeQuery
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.domain.SearchQuery
-
- org.linuxforhealth.fhir.persistence.jdbc.domain.SearchIncludeQuery
-
public class SearchIncludeQuery extends SearchQuery
Domain model of the FHIR search context representing the query used to perform the search operation in the database. The query built by this class fetches the data for the _include phase of searches.
-
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.persistence.jdbc.domain.SearchQuery
extensions, INCLUDE_RESOURCE_TYPE_ID
-
-
Constructor Summary
Constructors Constructor Description SearchIncludeQuery(java.lang.String resourceType)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getRoot(SearchQueryVisitor<T> visitor)
Process the logical query definition through the visitor<T> T
visit(SearchQueryVisitor<T> visitor)
Get the root query and attach the parameter filters to it-
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.domain.SearchQuery
add, add, getRootResourceType, visitExtensions, visitSearchParams
-
-
-
-
Method Detail
-
getRoot
public <T> T getRoot(SearchQueryVisitor<T> visitor)
Description copied from class:SearchQuery
Process the logical query definition through the visitor- Specified by:
getRoot
in classSearchQuery
- Returns:
-
visit
public <T> T visit(SearchQueryVisitor<T> visitor) throws FHIRPersistenceException
Description copied from class:SearchQuery
Get the root query and attach the parameter filters to it- Overrides:
visit
in classSearchQuery
- Returns:
- Throws:
FHIRPersistenceException
-
-