java.lang.Object | |
↳ | org.hibernate.dialect.function.StandardSQLFunction |
Known Indirect Subclasses |
Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL. The Dialect and its sub-classes use this class to provide details required for processing of the associated function.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a standard SQL function definition with a variable return type;
the actual return type will depend on the types to which the function
is applied.
| |||||||||||
Construct a standard SQL function definition with a static return type.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Function name accessor
| |||||||||||
The return type of the function.
| |||||||||||
Function static return type accessor.
| |||||||||||
Does this function have any arguments?
| |||||||||||
If there are no arguments, are parentheses required?
| |||||||||||
Render the function call as SQL fragment.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.dialect.function.SQLFunction
|
Construct a standard SQL function definition with a variable return type; the actual return type will depend on the types to which the function is applied.
Using this form, the return type is considered non-static and assumed to be the type of the first argument.name | The name of the function. |
---|
Construct a standard SQL function definition with a static return type.
name | The name of the function. |
---|---|
registeredType | The static return type. |
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 intorender(Type, List, SessionFactoryImplementor)
firstArgumentType | The type of the first argument |
---|---|
mapping | The mapping source. |
Function static return type accessor.
Does this function have any arguments?
If there are no arguments, are parentheses required?
Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed intogetReturnType(Type, Mapping)
firstArgumentType | The type of the first argument |
---|---|
arguments | The function arguments |
sessionFactory | The SessionFactory |