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 implementing CacheableJpqlMacro if possible to allow expressions containing the macro to be cached.
Since:
1.2.0
Author:
Christian Beikov
See Also:
CacheableJpqlMacro
  • Method Summary

    Modifier and Type Method Description
    void render​(FunctionRenderContext context)
    Renders the function into the given function render context.
  • Method Details

    • 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