Class DateDiffFunction
java.lang.Object
com.blazebit.persistence.impl.function.datediff.DateDiffFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DayDiffFunction
,HourDiffFunction
,MicrosecondDiffFunction
,MillisecondDiffFunction
,MinuteDiffFunction
,MonthDiffFunction
,QuarterDiffFunction
,SecondDiffFunction
,WeekDiffFunction
,YearDiffFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov, Moritz Becker
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getReturnType
(Class<?> firstArgumentType) boolean
boolean
void
render
(FunctionRenderContext context) protected void
renderDiff
(FunctionRenderContext context)
-
Field Details
-
renderer
-
-
Constructor Details
-
DateDiffFunction
-
-
Method Details
-
hasArguments
public boolean hasArguments()- Specified by:
hasArguments
in interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArguments
in interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
-
render
- Specified by:
render
in interfaceJpqlFunction
-
renderDiff
-