Class JpqlQueryBuilder.RenderContext

java.lang.Object
org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
Enclosing class:
JpqlQueryBuilder

public static class JpqlQueryBuilder.RenderContext extends Object
Context used during rendering.
Since:
4.0
Author:
Mark Paluch, Choi Wang Gyu
  • Field Details

  • Method Details

    • getAlias

      public String getAlias(JpqlQueryBuilder.Origin source)
      Obtain an alias for JpqlQueryBuilder.Origin. Unknown selection origins are associated with the enclosing statement if they are used for the first time.
      Parameters:
      source -
      Returns:
    • prefixWithAlias

      public String prefixWithAlias(JpqlQueryBuilder.Origin source, String fragment)
      Prefix fragment with the alias for JpqlQueryBuilder.Origin. Unknown selection origins are associated with the enclosing statement if they are used for the first time.
      Parameters:
      source -
      Returns:
    • isConstructorContext

      public boolean isConstructorContext()