public interface JpqlFunction
EntityManagerFactoryIntegrator.registerFunctions(javax.persistence.EntityManagerFactory, java.util.Map)
Modifier and Type | Method | 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 © 2014–2018 Blazebit. All rights reserved.