Class TruncFunction
java.lang.Object
com.blazebit.persistence.impl.function.trunc.TruncFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
TruncDayFunction,TruncHourFunction,TruncMicrosecondsFunction,TruncMillisecondsFunction,TruncMinuteFunction,TruncMonthFunction,TruncQuarterFunction,TruncSecondFunction,TruncWeekFunction,TruncYearFunction
- Since:
- 1.4.0
- Author:
- Jan-Willem Gmelig Meyling
-
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
-
TruncFunction
-
-
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
-