Class ToMultisetFunction
java.lang.Object
com.blazebit.persistence.impl.function.tomultiset.ToMultisetFunction
- All Implemented Interfaces:
JpqlFunction,JpqlFunctionProcessor<CharSequence>
public class ToMultisetFunction
extends Object
implements JpqlFunction, JpqlFunctionProcessor<CharSequence>
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionToMultisetFunction(AbstractToStringJsonFunction toJsonFunction, AbstractToStringXmlFunction toXmlFunction) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanprocess(CharSequence result, List<Object> arguments) voidrender(FunctionRenderContext context)
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
ToMultisetFunction
public ToMultisetFunction(AbstractToStringJsonFunction toJsonFunction, AbstractToStringXmlFunction toXmlFunction)
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
process
- Specified by:
processin interfaceJpqlFunctionProcessor<CharSequence>
-
render
- Specified by:
renderin interfaceJpqlFunction
-