Class Base64Function
java.lang.Object
com.blazebit.persistence.impl.function.base64.Base64Function
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
PostgreSQLBase64Function
public class Base64Function extends Object implements 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
Modifier and Type Method Description StringgetEncodedString(String bytes)Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Base64Function
public Base64Function()
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
render
- Specified by:
renderin interfaceJpqlFunction
-
getEncodedString
-