public interface JpqlFunction
EntityManagerIntegrator.registerFunctions(javax.persistence.EntityManager, java.util.Map)
Modifier and Type | Method and Description |
---|---|
Class<?> |
getReturnType(Class<?> firstArgumentType)
Returns the return type of this function.
|
boolean |
hasArguments()
Returns true if the function has arguments, false otherwise.
|
boolean |
hasParenthesesIfNoArguments()
Returns false if parentheses might be skipped if no arguments are given, true otherwise.
|
void |
render(FunctionRenderContext context)
Renders the function into the given function render context
|
boolean hasArguments()
boolean hasParenthesesIfNoArguments()
Class<?> getReturnType(Class<?> firstArgumentType)
firstArgumentType
- The type of the first argumentvoid render(FunctionRenderContext context)
context
- The context into which the function should be renderedCopyright © 2015 Blazebit. All Rights Reserved.