Class EntityFunction
java.lang.Object
com.blazebit.persistence.impl.function.entity.EntityFunction
- All Implemented Interfaces:
JpqlFunction
public class EntityFunction extends Object implements JpqlFunction
- Since:
- 1.3.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAMEstatic StringMARKER_PREDICATE -
Constructor Summary
Constructors Constructor Description EntityFunction() -
Method Summary
Modifier and Type Method Description static voidappendSubqueryPart(StringBuilder sb, String sqlQuery)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()static voidremoveSyntheticPredicate(StringBuilder sb, String sqlQuery, int end)voidrender(FunctionRenderContext functionRenderContext)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
MARKER_PREDICATE
- See Also:
- Constant Field Values
-
-
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
-
appendSubqueryPart
-
removeSyntheticPredicate
-