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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getReturnType
(Class<?> firstArgumentType) boolean
boolean
void
render
(FunctionRenderContext context) protected abstract void
render0
(FunctionRenderContext context) retrieveJsonPathElements
(FunctionRenderContext context, int pathStartOffset) static String
toJsonPath
(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:
hasArguments
in interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArguments
in interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
-
render
- Specified by:
render
in interfaceJpqlFunction
-
render0
-
toJsonPath
-
retrieveJsonPathElements
public static List<Object> retrieveJsonPathElements(FunctionRenderContext context, int pathStartOffset)
-