Package dev.dsf.fhir.search
Class SearchQuery<R extends org.hl7.fhir.r4.model.Resource>
java.lang.Object
dev.dsf.fhir.search.SearchQuery<R>
- All Implemented Interfaces:
DbSearchQuery,Matcher
public class SearchQuery<R extends org.hl7.fhir.r4.model.Resource>
extends Object
implements DbSearchQuery, Matcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearchQuery.SearchQueryBuilder<R extends org.hl7.fhir.r4.model.Resource> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.UriBuilderconfigureBundleUri(jakarta.ws.rs.core.UriBuilder bundleUri) configureParameters(Map<String, List<String>> queryParameters) booleanmatches(org.hl7.fhir.r4.model.Resource resource) voidmodifyIncludeResource(org.hl7.fhir.r4.model.Resource resource, int columnIndex, Connection connection) voidmodifyStatement(PreparedStatement statement, BiFunctionWithSqlException<String, Object[], Array> arrayCreator) voidresloveReferencesForMatching(org.hl7.fhir.r4.model.Resource resource, DaoProvider daoProvider)
-
Field Details
-
PARAMETER_INCLUDE
- See Also:
-
PARAMETER_REVINCLUDE
- See Also:
-
PARAMETER_SORT
- See Also:
-
PARAMETER_PAGE
- See Also:
-
PARAMETER_COUNT
- See Also:
-
PARAMETER_FORMAT
- See Also:
-
PARAMETER_PRETTY
- See Also:
-
PARAMETER_SUMMARY
- See Also:
-
STANDARD_PARAMETERS
-
SINGLE_VALUE_PARAMETERS
-
-
Method Details
-
configureParameters
-
getUnsupportedQueryParameters
-
getCountSql
- Specified by:
getCountSqlin interfaceDbSearchQuery
-
getSearchSql
- Specified by:
getSearchSqlin interfaceDbSearchQuery
-
modifyStatement
public void modifyStatement(PreparedStatement statement, BiFunctionWithSqlException<String, Object[], throws SQLExceptionArray> arrayCreator) - Specified by:
modifyStatementin interfaceDbSearchQuery- Throws:
SQLException
-
getPageAndCount
- Specified by:
getPageAndCountin interfaceDbSearchQuery
-
configureBundleUri
public jakarta.ws.rs.core.UriBuilder configureBundleUri(jakarta.ws.rs.core.UriBuilder bundleUri) -
getResourceType
- Specified by:
getResourceTypein interfaceMatcher
-
resloveReferencesForMatching
public void resloveReferencesForMatching(org.hl7.fhir.r4.model.Resource resource, DaoProvider daoProvider) throws SQLException - Specified by:
resloveReferencesForMatchingin interfaceMatcher- Throws:
SQLException
-
matches
public boolean matches(org.hl7.fhir.r4.model.Resource resource) -
modifyIncludeResource
public void modifyIncludeResource(org.hl7.fhir.r4.model.Resource resource, int columnIndex, Connection connection) throws SQLException - Specified by:
modifyIncludeResourcein interfaceDbSearchQuery- Throws:
SQLException
-