java.lang.Object | |
↳ | org.hibernate.dialect.function.AbstractAnsiTrimEmulationFunction |
Known Direct Subclasses |
A SQLFunction
providing support for implementing TRIM functionality
(as defined by both the ANSI SQL and JPA specs) in cases where the dialect may not support the full trim
function itself.
render(Type, List, SessionFactoryImplementor)
method.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The return type of the function.
| |||||||||||
Does this function have any arguments?
| |||||||||||
If there are no arguments, are parentheses required?
| |||||||||||
Render the function call as SQL fragment.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Resolve the function definition which should be used to trim both leading and trailing spaces.
| |||||||||||
Resolve the function definition which should be used to trim both leading and trailing spaces.
| |||||||||||
Resolve the function definition which should be used to trim the specified character from both the
beginning (leading) and end (trailing) of the trim source.
| |||||||||||
Resolve the function definition which should be used to trim leading spaces.
| |||||||||||
Resolve the function definition which should be used to trim the specified character from the
beginning (leading) of the trim source.
| |||||||||||
Resolve the function definition which should be used to trim trailing spaces.
| |||||||||||
Resolve the function definition which should be used to trim the specified character from the
end (trailing) of the trim source.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.dialect.function.SQLFunction
|
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)
argumentType | The type of the first argument |
---|---|
mapping | The mapping source. |
QueryException |
---|
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)
argumentType | The type of the first argument |
---|---|
args | The function arguments |
factory | The SessionFactory |
QueryException |
---|
Resolve the function definition which should be used to trim both leading and trailing spaces.
The same as {#link resolveBothSpaceTrimFunction} except that here theFROM is included and will need to be accounted for duringrender(Type, List, SessionFactoryImplementor)
processing.Resolve the function definition which should be used to trim both leading and trailing spaces.
In this form, the imput arguments is missing the FROM keyword.Resolve the function definition which should be used to trim the specified character from both the beginning (leading) and end (trailing) of the trim source.
Resolve the function definition which should be used to trim leading spaces.
Resolve the function definition which should be used to trim the specified character from the beginning (leading) of the trim source.
Resolve the function definition which should be used to trim trailing spaces.
Resolve the function definition which should be used to trim the specified character from the end (trailing) of the trim source.