Class SearchWholeSystemFilterQuery
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.domain.SearchQuery
-
- com.ibm.fhir.persistence.jdbc.domain.SearchWholeSystemFilterQuery
-
public class SearchWholeSystemFilterQuery 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 filter data for whole system searches, which is a set of logical resource id + resource type.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) List<DomainSortParameter>sortParameters
-
Constructor Summary
Constructors Constructor Description SearchWholeSystemFilterQuery()Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(DomainSortParameter dsp)Add the given sort parameter to the sortParameters list.<T> TgetRoot(SearchQueryVisitor<T> visitor)Process the logical query definition through the visitor<T> Tvisit(SearchQueryVisitor<T> visitor)Get the root query and attach the parameter filters to it-
Methods inherited from class com.ibm.fhir.persistence.jdbc.domain.SearchQuery
add, add, getRootResourceType, visitExtensions, visitSearchParams
-
-
-
-
Field Detail
-
sortParameters
final List<DomainSortParameter> sortParameters
-
-
Method Detail
-
add
public void add(DomainSortParameter dsp)
Add the given sort parameter to the sortParameters list.- Parameters:
dsp-
-
getRoot
public <T> T getRoot(SearchQueryVisitor<T> visitor)
Description copied from class:SearchQueryProcess the logical query definition through the visitor- Specified by:
getRootin classSearchQuery- Returns:
-
visit
public <T> T visit(SearchQueryVisitor<T> visitor) throws com.ibm.fhir.persistence.exception.FHIRPersistenceException
Description copied from class:SearchQueryGet the root query and attach the parameter filters to it- Overrides:
visitin classSearchQuery- Returns:
- Throws:
com.ibm.fhir.persistence.exception.FHIRPersistenceException
-
-