Class SearchDataQuery
- java.lang.Object
-
- com.ibm.fhir.persistence.jdbc.domain.SearchQuery
-
- com.ibm.fhir.persistence.jdbc.domain.SearchDataQuery
-
public class SearchDataQuery 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 and handles pagination
-
-
Constructor Summary
Constructors Constructor Description SearchDataQuery(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 com.ibm.fhir.persistence.jdbc.domain.SearchQuery
add, add, getRootResourceType, visitExtensions, visitSearchParams
-
-
-
-
Constructor Detail
-
SearchDataQuery
public SearchDataQuery(String resourceType)
Public constructor- Parameters:
resourceType
-
-
-
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
-
-