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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context) protected voidrenderDiff(FunctionRenderContext context)
-
Field Details
-
renderer
-
-
Constructor Details
-
DateDiffFunction
-
-
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
-
renderDiff
-