Class LiteralFunction
java.lang.Object
com.blazebit.persistence.impl.function.literal.LiteralFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
LiteralCalendarFunction,LiteralDateFunction,LiteralDateTimestampFunction,LiteralInstantFunction,LiteralLocalDateFunction,LiteralLocalDateTimeFunction,LiteralLocalTimeFunction,LiteralOffsetDateTimeFunction,LiteralOffsetTimeFunction,LiteralTimeFunction,LiteralTimestampFunction,LiteralZonedDateTimeFunction
public abstract class LiteralFunction extends Object implements JpqlFunction
- Since:
- 1.6.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description LiteralFunction() -
Method Summary
Modifier and Type Method Description protected abstract StringgetFunctionName()booleanhasArguments()booleanhasParenthesesIfNoArguments()protected static Class<?>loadClass(String className)voidrender(FunctionRenderContext functionRenderContext)
-
Constructor Details
-
LiteralFunction
public LiteralFunction()
-
-
Method Details
-
loadClass
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getFunctionName
-
render
- Specified by:
renderin interfaceJpqlFunction
-