Class AbstractToStringJsonFunction
java.lang.Object
com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
ForJsonPathToStringJsonFunction,GroupConcatBasedToStringJsonFunction,MySQLToStringJsonFunction,PostgreSQLToStringJsonFunction
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanprocess(CharSequence result, String[] fields) voidrender(FunctionRenderContext context) abstract voidrender(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
AbstractToStringJsonFunction
public AbstractToStringJsonFunction()
-
-
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
-
process
-
render
public abstract void render(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)
-