Class AbstractJsonGetFunction
java.lang.Object
com.blazebit.persistence.impl.function.jsonget.AbstractJsonGetFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DB2JsonGetFunction,MSSQLJsonGetFunction,MSSQLJsonSetFunction,MySQL8JsonGetFunction,OracleJsonGetFunction,PostgreSQLJsonGetFunction
- Since:
- 1.5.0
- Author:
- Moritz Becker
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context) protected abstract voidrender0(FunctionRenderContext context) retrieveJsonPathElements(FunctionRenderContext context, int pathStartOffset) static StringtoJsonPath(List<Object> pathElements, int to, boolean quotePathElements)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
AbstractJsonGetFunction
public AbstractJsonGetFunction()
-
-
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
-
toJsonPath
-
retrieveJsonPathElements
public static List<Object> retrieveJsonPathElements(FunctionRenderContext context, int pathStartOffset)
-