Class AbstractGroupConcatFunction
java.lang.Object
com.blazebit.persistence.impl.function.groupconcat.AbstractGroupConcatFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DB2GroupConcatFunction,H2GroupConcatFunction,MSSQLGroupConcatFunction,MySQLGroupConcatFunction,OracleListaggGroupConcatFunction,PostgreSQLGroupConcatFunction
public abstract class AbstractGroupConcatFunction extends Object implements JpqlFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractGroupConcatFunction.GroupConcat -
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAMEprotected TemplateRendererrenderer -
Constructor Summary
Constructors Constructor Description AbstractGroupConcatFunction(String template) -
Method Summary
Modifier and Type Method Description protected voidappendEmulatedOrderByElementWithNulls(StringBuilder sb, Order element)protected AbstractGroupConcatFunction.GroupConcatgetGroupConcat(FunctionRenderContext context)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)abstract voidrender(FunctionRenderContext context, AbstractGroupConcatFunction.GroupConcat groupConcat)protected voidrender(StringBuilder sb, Order order)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
renderer
-
-
Constructor Details
-
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
-
render
public abstract void render(FunctionRenderContext context, AbstractGroupConcatFunction.GroupConcat groupConcat) -
getGroupConcat
-
render
-
appendEmulatedOrderByElementWithNulls
-