Class AbstractJsonSetFunction
java.lang.Object
com.blazebit.persistence.impl.function.jsonset.AbstractJsonSetFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DB2JsonSetFunction,MySQL8JsonSetFunction,OracleJsonSetFunction,PostgreSQLJsonSetFunction
public abstract class AbstractJsonSetFunction extends Object implements JpqlFunction
- Since:
- 1.5.0
- Author:
- Moritz Becker
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAME -
Constructor Summary
Constructors Constructor Description AbstractJsonSetFunction() -
Method Summary
Modifier and Type Method Description protected voidaddUnquotedArgument(FunctionRenderContext context, int argIndex)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)protected abstract voidrender0(FunctionRenderContext context)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
AbstractJsonSetFunction
public AbstractJsonSetFunction()
-
-
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
-
render0
-
addUnquotedArgument
-