| Modifier and Type | Method and Description |
|---|---|
| public Type | Returns: The type to be expected as a return.The type of the first argument firstArgumentType, Mapping The mapping source. mapping)The return type of the function. |
| public boolean | Returns: True if the function expects to have parameters; false otherwise.Does this function have any arguments? |
| public boolean | Returns: True if a no-arg call of this function requires parentheses.If there are no arguments, are parentheses required? |
| public String | Returns: The rendered function callThe type of the first argument firstArgumentType, List<E> The function arguments arguments, SessionFactoryImplementor The SessionFactory factory)Render the function call as SQL fragment. |
| getReturnType | back to summary |
|---|---|
| public Type getReturnType(Type firstArgumentType, Mapping mapping) throws QueryException The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.
Note, the 'firstArgumentType' parameter should match the one passed into
| |
| hasArguments | back to summary |
|---|---|
| public boolean hasArguments() Does this function have any arguments?
| |
| hasParenthesesIfNoArguments | back to summary |
|---|---|
| public boolean hasParenthesesIfNoArguments() If there are no arguments, are parentheses required?
| |
| render | back to summary |
|---|---|
| public String render(Type firstArgumentType, List<E> arguments, SessionFactoryImplementor factory) throws QueryException Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed into
| |