Package com.blazebit.persistence.spi
Interface JpqlMacro
-
- All Known Subinterfaces:
CacheableJpqlMacro
public interface JpqlMacro
Interface for implementing a macro function that produces JPQL from it's parameters. An instance of this interface needs to be registered to be able to use the macro in queries. Consider implementingCacheableJpqlMacro
if possible to allow expressions containing the macro to be cached.- Since:
- 1.2.0
- Author:
- Christian Beikov
- See Also:
CacheableJpqlMacro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
render(FunctionRenderContext context)
Renders the function into the given function render context.
-
-
-
Method Detail
-
render
void render(FunctionRenderContext context)
Renders the function into the given function render context.- Parameters:
context
- The context into which the function should be rendered
-
-