Class ReplaceFunction
java.lang.Object
com.blazebit.persistence.impl.function.replace.ReplaceFunction
- All Implemented Interfaces:
JpqlFunction
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReplaceString(String argument, String search, String replace) Class<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
ReplaceFunction
public ReplaceFunction()
-
-
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
-
getReplaceString
-