Class GroupConcatBasedToStringJsonFunction
java.lang.Object
com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
com.blazebit.persistence.impl.function.tostringjson.GroupConcatBasedToStringJsonFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
OracleToStringJsonFunction
public class GroupConcatBasedToStringJsonFunction extends AbstractToStringJsonFunction
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description protected ConcatFunctionconcatFunctionprotected Stringendprotected StringpostChunkprotected StringpreChunkprotected StringstartFields inherited from class com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
FUNCTION_NAME -
Constructor Summary
Constructors Modifier Constructor Description GroupConcatBasedToStringJsonFunction(AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, LateralStyle lateralStyle)protectedGroupConcatBasedToStringJsonFunction(String preChunk, String postChunk, boolean coalesceNestedMultiset, AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, LateralStyle lateralStyle) -
Method Summary
Modifier and Type Method Description protected StringcoalesceEnd(String field)protected StringcoalesceStart()voidrender(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)protected voidrender(StringBuilder sb, String[] fields, String[] selectItemExpressions)Methods inherited from class com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
getReturnType, hasArguments, hasParenthesesIfNoArguments, process, render
-
Field Details
-
Constructor Details
-
GroupConcatBasedToStringJsonFunction
public GroupConcatBasedToStringJsonFunction(AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, LateralStyle lateralStyle) -
GroupConcatBasedToStringJsonFunction
protected GroupConcatBasedToStringJsonFunction(String preChunk, String postChunk, boolean coalesceNestedMultiset, AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, LateralStyle lateralStyle)
-
-
Method Details
-
render
public void render(FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)- Specified by:
renderin classAbstractToStringJsonFunction
-
render
-
coalesceStart
-
coalesceEnd
-