Class ColumnTruncFunction
- java.lang.Object
-
- com.blazebit.persistence.impl.function.coltrunc.ColumnTruncFunction
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.JpqlFunction
public class ColumnTruncFunction extends Object implements com.blazebit.persistence.spi.JpqlFunction
- Since:
- 1.4.1
- Author:
- Christian Beikov
-
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAMEstatic StringSYNTHETIC_COLUMN_PREFIX
-
Constructor Summary
Constructors Constructor Description ColumnTruncFunction()
-
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)
-
-
-
Field Detail
-
SYNTHETIC_COLUMN_PREFIX
public static final String SYNTHETIC_COLUMN_PREFIX
- See Also:
- Constant Field Values
-
FUNCTION_NAME
public static final String FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
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
-
-