com.blazebit.persistence.spi.JpqlFunctionDayAddFunction, HourAddFunction, MicrosecondsAddFunction, MillisecondsAddFunction, MinuteAddFunction, MonthAddFunction, QuarterAddFunction, SecondAddFunction, WeekAddFunction, YearAddFunctionpublic abstract class DateAddFunction
extends java.lang.Object
implements com.blazebit.persistence.spi.JpqlFunction
| Modifier and Type | Field | Description |
|---|---|---|
protected com.blazebit.persistence.spi.TemplateRenderer |
renderer |
| Constructor | Description |
|---|---|
DateAddFunction(java.lang.String functionName,
java.lang.String template) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class<?> |
getReturnType(java.lang.Class<?> firstArgumentType) |
|
boolean |
hasArguments() |
|
boolean |
hasParenthesesIfNoArguments() |
|
void |
render(com.blazebit.persistence.spi.FunctionRenderContext context) |
|
protected void |
renderDiff(com.blazebit.persistence.spi.FunctionRenderContext context) |
public DateAddFunction(java.lang.String functionName,
java.lang.String template)
public boolean hasArguments()
hasArguments in interface com.blazebit.persistence.spi.JpqlFunctionpublic boolean hasParenthesesIfNoArguments()
hasParenthesesIfNoArguments in interface com.blazebit.persistence.spi.JpqlFunctionpublic java.lang.Class<?> getReturnType(java.lang.Class<?> firstArgumentType)
getReturnType in interface com.blazebit.persistence.spi.JpqlFunctionpublic void render(com.blazebit.persistence.spi.FunctionRenderContext context)
render in interface com.blazebit.persistence.spi.JpqlFunctionprotected void renderDiff(com.blazebit.persistence.spi.FunctionRenderContext context)
Copyright © 2014–2020 Blazebit. All rights reserved.