Class EpochMillisecondFunction
- java.lang.Object
-
- com.blazebit.persistence.impl.function.datetime.epochmilli.EpochMillisecondFunction
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.JpqlFunction
- Direct Known Subclasses:
DB2EpochMillisecondFunction,DefaultEpochMillisecondFunction,MSSQLEpochMillisecondFunction,MySQLEpochMillisecondFunction,OracleEpochMillisecondFunction,PostgreSQLEpochMillisecondFunction
public abstract class EpochMillisecondFunction extends Object implements com.blazebit.persistence.spi.JpqlFunction
- Since:
- 1.4.0
- Author:
- Christian Beikov
-
-
Field Summary
Fields Modifier and Type Field Description protected com.blazebit.persistence.spi.TemplateRendererrenderer
-
Constructor Summary
Constructors Constructor Description EpochMillisecondFunction(String template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getReturnType(Class<?> firstArgumentType)booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(com.blazebit.persistence.spi.FunctionRenderContext context)protected voidrenderDiff(com.blazebit.persistence.spi.FunctionRenderContext context)
-
-
-
Constructor Detail
-
EpochMillisecondFunction
public EpochMillisecondFunction(String template)
-
-
Method Detail
-
hasArguments
public boolean hasArguments()
- Specified by:
hasArgumentsin interfacecom.blazebit.persistence.spi.JpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()
- Specified by:
hasParenthesesIfNoArgumentsin interfacecom.blazebit.persistence.spi.JpqlFunction
-
getReturnType
public Class<?> getReturnType(Class<?> firstArgumentType)
- Specified by:
getReturnTypein interfacecom.blazebit.persistence.spi.JpqlFunction
-
render
public void render(com.blazebit.persistence.spi.FunctionRenderContext context)
- Specified by:
renderin interfacecom.blazebit.persistence.spi.JpqlFunction
-
renderDiff
protected void renderDiff(com.blazebit.persistence.spi.FunctionRenderContext context)
-
-