Class QuarterFunction
java.lang.Object
com.blazebit.persistence.impl.function.datetime.quarter.QuarterFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
AccessQuarterFunction,DB2QuarterFunction,MSSQLQuarterFunction,OracleQuarterFunction,PostgreSQLQuarterFunction,SqliteQuarterFunction,SybaseQuarterFunction
public class QuarterFunction extends Object implements JpqlFunction
- Since:
- 1.4.0
- Author:
- Jan-Willem Gmelig Meyling
-
Constructor Summary
Constructors Constructor Description QuarterFunction()QuarterFunction(String template) -
Method Summary
Modifier and Type Method Description Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)
-
Constructor Details
-
QuarterFunction
public QuarterFunction() -
QuarterFunction
-
-
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
-