Package dev.dsf.fhir.search
Class SearchQueryIncludeParameterConfiguration
java.lang.Object
dev.dsf.fhir.search.SearchQueryIncludeParameterConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionSearchQueryIncludeParameterConfiguration(String sql, IncludeParts includeParts) SearchQueryIncludeParameterConfiguration(String sql, IncludeParts includeParts, BiConsumerWithSqlException<org.hl7.fhir.r4.model.Resource, Connection> includeResourceModifier) -
Method Summary
Modifier and TypeMethodDescriptiongetSql()voidmodifyIncludeResource(org.hl7.fhir.r4.model.Resource resource, Connection connection)
-
Constructor Details
-
SearchQueryIncludeParameterConfiguration
-
SearchQueryIncludeParameterConfiguration
public SearchQueryIncludeParameterConfiguration(String sql, IncludeParts includeParts, BiConsumerWithSqlException<org.hl7.fhir.r4.model.Resource, Connection> includeResourceModifier) - Parameters:
sql- notnullincludeParts- notnullincludeResourceModifier- Use thisBiConsumerWithSqlExceptionto modify the include resources. This consumer can be used if the resources returned by the include SQL are not complete and additional content needs to be retrieved from a not included column. For example the content of aBinaryresource might not be stored in the json column.
-
-
Method Details
-
getBundleUriQueryParameterValues
-
getSql
-
modifyIncludeResource
public void modifyIncludeResource(org.hl7.fhir.r4.model.Resource resource, Connection connection) throws SQLException - Throws:
SQLException
-