| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Type | getReturnType(Type
The type of the first argument argumentType, Mapping The mapping source. mapping)Implements org. |
| public boolean | hasArguments()
Implements org. |
| public boolean | hasParenthesesIfNoArguments()
Implements org. |
| public String | render(Type
The type of the first argument argumentType, List<E> The function arguments args, SessionFactoryImplementor The SessionFactory factory)Implements org. |
| hasParenthesesIfNoArguments | back to summary |
|---|---|
| private boolean hasParenthesesIfNoArguments | |
| name | back to summary |
|---|---|
| private String name | |
| returnType | back to summary |
|---|---|
| private Type returnType | |
| NoArgSQLFunction | back to summary |
|---|---|
| public NoArgSQLFunction(String name, Type returnType) | |
| NoArgSQLFunction | back to summary |
|---|---|
| public NoArgSQLFunction(String name, Type returnType, boolean hasParenthesesIfNoArguments) | |
| getReturnType | back to summary |
|---|---|
| public Type getReturnType(Type argumentType, Mapping mapping) throws QueryException Implements org. Doc from org. 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() Implements org. Doc from org. Does this function have any arguments?
| |
| hasParenthesesIfNoArguments | back to summary |
|---|---|
| public boolean hasParenthesesIfNoArguments() Implements org. Doc from org. If there are no arguments, are parentheses required?
| |
| render | back to summary |
|---|---|
| public String render(Type argumentType, List<E> args, SessionFactoryImplementor factory) throws QueryException Implements org. Doc from org. Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed into
| |