Class AslCleanupPostProcessor
java.lang.Object
org.ehrbase.openehr.aqlengine.asl.AslCleanupPostProcessor
- All Implemented Interfaces:
AslPostProcessor,org.springframework.core.Ordered
-
Field Summary
Fields inherited from interface org.ehrbase.openehr.aqlengine.asl.AslPostProcessor
CLEAN_UP_PRECEDENCEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterBuildAsl(AslRootQuery aslRootQuery, org.ehrbase.openehr.sdk.aql.dto.AqlQuery aqlQuery, AqlQueryWrapper aqlQueryWrapper, AqlQueryRequest aqlQueryRequest) Invoked after the building the AslRootQuery and before building the DB query.intgetOrder()
-
Constructor Details
-
AslCleanupPostProcessor
public AslCleanupPostProcessor()
-
-
Method Details
-
afterBuildAsl
public void afterBuildAsl(AslRootQuery aslRootQuery, org.ehrbase.openehr.sdk.aql.dto.AqlQuery aqlQuery, AqlQueryWrapper aqlQueryWrapper, AqlQueryRequest aqlQueryRequest) Description copied from interface:AslPostProcessorInvoked after the building the AslRootQuery and before building the DB query. This method can be used to modify the AslRootQuery inplace. Modifications of the given AqlQuery or AqlQueryWrapper will not have any effect on the generated DB query.- Specified by:
afterBuildAslin interfaceAslPostProcessor- Parameters:
aslRootQuery- the AslRootQuery built based on aqlQuery and aqlQueryWrapperaqlQuery- the parsed and post-processed AqlQueryaqlQueryWrapper- the AqlQueryWrapper created from aqlQueryaqlQueryRequest- the AqlQueryRequest provided to the service
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-