Class GroupConcatBasedToStringJsonFunction
- java.lang.Object
-
- com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
-
- com.blazebit.persistence.impl.function.tostringjson.GroupConcatBasedToStringJsonFunction
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.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 Stringstart-
Fields 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, com.blazebit.persistence.spi.LateralStyle lateralStyle)protectedGroupConcatBasedToStringJsonFunction(String preChunk, String postChunk, boolean coalesceNestedMultiset, AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, com.blazebit.persistence.spi.LateralStyle lateralStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcoalesceEnd(String field)protected StringcoalesceStart()voidrender(com.blazebit.persistence.spi.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 Detail
-
concatFunction
protected final ConcatFunction concatFunction
-
preChunk
protected final String preChunk
-
postChunk
protected final String postChunk
-
start
protected final String start
-
end
protected final String end
-
-
Constructor Detail
-
GroupConcatBasedToStringJsonFunction
public GroupConcatBasedToStringJsonFunction(AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, com.blazebit.persistence.spi.LateralStyle lateralStyle)
-
GroupConcatBasedToStringJsonFunction
protected GroupConcatBasedToStringJsonFunction(String preChunk, String postChunk, boolean coalesceNestedMultiset, AbstractGroupConcatFunction groupConcatFunction, ChrFunction chrFunction, ReplaceFunction replaceFunction, ConcatFunction concatFunction, com.blazebit.persistence.spi.LateralStyle lateralStyle)
-
-
Method Detail
-
render
public void render(com.blazebit.persistence.spi.FunctionRenderContext context, String[] fields, String[] selectItemExpressions, String subquery, int fromIndex)- Specified by:
renderin classAbstractToStringJsonFunction
-
render
protected void render(StringBuilder sb, String[] fields, String[] selectItemExpressions)
-
coalesceStart
protected String coalesceStart()
-
-