Class EntityFunction
java.lang.Object
com.blazebit.persistence.impl.function.entity.EntityFunction
- All Implemented Interfaces:
JpqlFunction
- Since:
- 1.3.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendSubqueryPart(StringBuilder sb, String sqlQuery) Class<?>getReturnType(Class<?> firstArgumentType) booleanbooleanstatic voidremoveSyntheticPredicate(StringBuilder sb, int end) static voidremoveSyntheticPredicate(StringBuilder sb, String entityName, String syntheticPredicate, String valuesTableSqlAlias) voidrender(FunctionRenderContext functionRenderContext)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
MARKER_PREDICATE
- See Also:
-
-
Constructor Details
-
EntityFunction
public EntityFunction()
-
-
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
-
removeSyntheticPredicate
public static void removeSyntheticPredicate(StringBuilder sb, String entityName, String syntheticPredicate, String valuesTableSqlAlias) -
appendSubqueryPart
-
removeSyntheticPredicate
-