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 String
FUNCTION_NAME
static ConcatFunction
INSTANCE
-
Constructor Summary
Constructors Constructor Description ConcatFunction()
-
Method Summary
Modifier and Type Method Description String
concatSeparator()
String
endConcat()
Class<?>
getReturnType(Class<?> firstArgumentType)
boolean
hasArguments()
boolean
hasParenthesesIfNoArguments()
void
render(FunctionRenderContext context)
String
startConcat()
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
INSTANCE
-
-
Constructor Details
-
ConcatFunction
public ConcatFunction()
-
-
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
-
startConcat
-
endConcat
-
concatSeparator
-