Class HibernateSQLFunctionAdapter
java.lang.Object
com.blazebit.persistence.integration.hibernate.base.function.HibernateSQLFunctionAdapter
- All Implemented Interfaces:
JpqlFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateSQLFunctionAdapter(org.hibernate.engine.spi.SessionFactoryImplementor sfi, org.hibernate.dialect.function.SQLFunction function) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getReturnType(Class<?> firstArgumentType) booleanbooleanvoidrender(FunctionRenderContext context)
-
Constructor Details
-
HibernateSQLFunctionAdapter
public HibernateSQLFunctionAdapter(org.hibernate.engine.spi.SessionFactoryImplementor sfi, org.hibernate.dialect.function.SQLFunction function)
-
-
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
-