Class Base64Function
- java.lang.Object
-
- com.blazebit.persistence.impl.function.base64.Base64Function
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.JpqlFunction
- Direct Known Subclasses:
PostgreSQLBase64Function
public class Base64Function extends Object implements com.blazebit.persistence.spi.JpqlFunction
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAME
-
Constructor Summary
Constructors Constructor Description Base64Function()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncodedString(String bytes)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(com.blazebit.persistence.spi.FunctionRenderContext context)
-
-
-
Field Detail
-
FUNCTION_NAME
public static final String FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
hasArguments
public boolean hasArguments()
- Specified by:
hasArgumentsin interfacecom.blazebit.persistence.spi.JpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()
- Specified by:
hasParenthesesIfNoArgumentsin interfacecom.blazebit.persistence.spi.JpqlFunction
-
getReturnType
public Class<?> getReturnType(Class<?> firstArgumentType)
- Specified by:
getReturnTypein interfacecom.blazebit.persistence.spi.JpqlFunction
-
render
public void render(com.blazebit.persistence.spi.FunctionRenderContext context)
- Specified by:
renderin interfacecom.blazebit.persistence.spi.JpqlFunction
-
-