Class YearFunction
java.lang.Object
com.blazebit.persistence.impl.function.datetime.year.YearFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
AccessYearFunction,DB2YearFunction,DerbyYearFunction,MSSQLYearFunction,PostgreSQLYearFunction,SqliteYearFunction,SybaseYearFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context)
-
Constructor Details
-
YearFunction
public YearFunction() -
YearFunction
-
-
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
-