Class DateAddFunction
java.lang.Object
com.blazebit.persistence.impl.function.dateadd.DateAddFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
DayAddFunction
,HourAddFunction
,MicrosecondsAddFunction
,MillisecondsAddFunction
,MinuteAddFunction
,MonthAddFunction
,QuarterAddFunction
,SecondAddFunction
,WeekAddFunction
,YearAddFunction
- Since:
- 1.4.0
- Author:
- Jan-Willem Gmelig Meyling
-
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
-
DateAddFunction
-
-
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
-