Class SubqueryFunction
java.lang.Object
com.blazebit.persistence.impl.function.subquery.SubqueryFunction
- All Implemented Interfaces:
JpqlFunction
This is an internal FUNCTION that is used to bypass the Hibernate parser for rendering subqueries as
aggregate function arguments.
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
SubqueryFunction
public SubqueryFunction()
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
render
- Specified by:
renderin interfaceJpqlFunction
-