Class SearchWholeSystemDataQuery
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.domain.SearchQuery
-
- org.linuxforhealth.fhir.persistence.jdbc.domain.SearchWholeSystemDataQuery
-
public class SearchWholeSystemDataQuery 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 resource data for whole system searches.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
resourceTypeId
-
Fields inherited from class org.linuxforhealth.fhir.persistence.jdbc.domain.SearchQuery
extensions, INCLUDE_RESOURCE_TYPE_ID
-
-
Constructor Summary
Constructors Constructor Description SearchWholeSystemDataQuery(java.lang.String resourceType, int resourceTypeId)
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
-
-