Class ConcatFunction
java.lang.Object
com.blazebit.persistence.impl.function.concat.ConcatFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
PipeBasedConcatFunction,PlusBasedConcatFunction
public class ConcatFunction extends Object implements JpqlFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAMEstatic ConcatFunctionINSTANCE -
Constructor Summary
Constructors Constructor Description ConcatFunction() -
Method Summary
Modifier and Type Method Description StringconcatSeparator()StringendConcat()Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)StringstartConcat()
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
INSTANCE
-
-
Constructor Details
-
ConcatFunction
public ConcatFunction()
-
-
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
-
startConcat
-
endConcat
-
concatSeparator
-