Package io.jmix.data.impl
Interface QueryConstantHandler
- All Known Implementing Classes:
RelativeDateTimeMomentQueryHandler
public interface QueryConstantHandler
Interface to be implemented by JPQL constant handlers.
The implementation must be a managed bean with "prototype" scope.
-
Method Summary
Modifier and TypeMethodDescriptionexpandConstant
(String queryString) Replaces constant with real JPQL code.
-
Method Details
-
expandConstant
Replaces constant with real JPQL code. If constant is not found, the source query string is returned.- Parameters:
queryString
- source query string- Returns:
- query string with constant replaced
-