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
- Since:
- 1.6.0
- Author:
- Christian Beikov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
boolean
boolean
protected static Class<?>
void
render
(FunctionRenderContext functionRenderContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.spi.JpqlFunction
getReturnType
-
Constructor Details
-
LiteralFunction
public LiteralFunction()
-
-
Method Details
-
loadClass
-
hasArguments
public boolean hasArguments()- Specified by:
hasArguments
in interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArguments
in interfaceJpqlFunction
-
getFunctionName
-
render
- Specified by:
render
in interfaceJpqlFunction
-