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
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConcatFunctionprotected final Stringprotected final Stringprotected final Stringprotected final StringFields inherited from class com.blazebit.persistence.impl.function.tostringjson.AbstractToStringJsonFunction
FUNCTION_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionGroupConcatBasedToStringJsonFunction(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 TypeMethodDescriptionprotected StringcoalesceEnd(String field) protected Stringvoidrender(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
-
concatFunction
-
preChunk
-
postChunk
-
start
-
end
-
-
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
-