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