Class AbstractGroupConcatWindowFunction
java.lang.Object
com.blazebit.persistence.impl.function.window.AbstractWindowFunction
com.blazebit.persistence.impl.function.window.groupconcat.AbstractGroupConcatWindowFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DB2GroupConcatWindowFunction
,H2GroupConcatWindowFunction
,MySQLGroupConcatWindowFunction
,OracleListaggGroupConcatWindowFunction
,PostgreSQLGroupConcatWindowFunction
public abstract class AbstractGroupConcatWindowFunction
extends AbstractWindowFunction
implements JpqlFunction
- Since:
- 1.4.0
- Author:
- Christian Beikov
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final class
Nested classes/interfaces inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
AbstractWindowFunction.WindowFunction
-
Field Summary
Fields inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
allowsFilterClause, functionName, nullIsSmallest, supportsFilterClause, supportsNullPrecedence
-
Constructor Summary
ConstructorDescriptionAbstractGroupConcatWindowFunction
(String functionName, boolean nullIsSmallest, boolean supportsNullPrecedence, boolean supportsFilterClause, boolean allowsFilterClause) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getReturnType
(Class<?> firstArgumentType) getWindowFunction
(FunctionRenderContext context) boolean
boolean
protected Enum<?>
processArgument
(Enum<?> mode, AbstractWindowFunction.WindowFunction windowFunction, String argument) protected String
protected void
render
(StringBuilder sb, Order order) Methods inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
appendEmulatedOrderByElementWithNulls, getCaseWhenPost, getCaseWhenPre, getWindowFunction, optimizeNullPrecedence, render, render, renderArgument, renderArguments, renderFilterExpressions, renderFrame, renderFramePosition, renderFunction, renderOrder, renderOrderBy, renderPartitions, renderWithinGroup, requiresOver
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.spi.JpqlFunction
render
-
Constructor Details
-
AbstractGroupConcatWindowFunction
public AbstractGroupConcatWindowFunction(String functionName, boolean nullIsSmallest, boolean supportsNullPrecedence, boolean supportsFilterClause, boolean allowsFilterClause)
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArguments
in interfaceJpqlFunction
- Overrides:
hasArguments
in classAbstractWindowFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArguments
in interfaceJpqlFunction
- Overrides:
hasParenthesesIfNoArguments
in classAbstractWindowFunction
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
- Overrides:
getReturnType
in classAbstractWindowFunction
-
getWindowFunction
protected AbstractGroupConcatWindowFunction.GroupConcat getWindowFunction(FunctionRenderContext context) - Overrides:
getWindowFunction
in classAbstractWindowFunction
-
processArgument
protected Enum<?> processArgument(Enum<?> mode, AbstractWindowFunction.WindowFunction windowFunction, String argument) - Overrides:
processArgument
in classAbstractWindowFunction
-
render
-
quoted
-