Class JpqlQueryBuilder.RenderContext
java.lang.Object
org.springframework.data.jpa.repository.query.JpqlQueryBuilder.RenderContext
- Enclosing class:
JpqlQueryBuilder
Context used during rendering.
- Since:
- 4.0
- Author:
- Mark Paluch, Choi Wang Gyu
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetAlias(JpqlQueryBuilder.Origin source) Obtain an alias forJpqlQueryBuilder.Origin.booleanprefixWithAlias(JpqlQueryBuilder.Origin source, String fragment) Prefixfragmentwith the alias forJpqlQueryBuilder.Origin.
-
Field Details
-
EMPTY
-
-
Method Details
-
getAlias
Obtain an alias forJpqlQueryBuilder.Origin. Unknown selection origins are associated with the enclosing statement if they are used for the first time.- Parameters:
source-- Returns:
-
prefixWithAlias
Prefixfragmentwith the alias forJpqlQueryBuilder.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()
-