| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Type | getReturnType(Type
The type of the first argument firstArgument, 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 firstArgument, List<E> The function arguments args, SessionFactoryImplementor The SessionFactory factory)Implements org. |
| protected abstract String |
| TrimFunctionTemplate | back to summary |
|---|---|
| public TrimFunctionTemplate() | |
| getReturnType | back to summary |
|---|---|
| public Type getReturnType(Type firstArgument, 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 firstArgument, 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
| |
| render | back to summary |
|---|---|
| protected abstract String render(TrimFunctionTemplate. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private String | |
| private TrimFunctionTemplate. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public TrimFunctionTemplate. | |
| public void | |
| public void |
| DEFAULT_TRIM_CHARACTER | back to summary |
|---|---|
| public static final String DEFAULT_TRIM_CHARACTER | |
| trimCharacter | back to summary |
|---|---|
| private String trimCharacter | |
| trimSpecification | back to summary |
|---|---|
| private TrimFunctionTemplate. | |
| Options | back to summary |
|---|---|
| public Options() | |
| getTrimCharacter | back to summary |
|---|---|
| public String getTrimCharacter() | |
| getTrimSpecification | back to summary |
|---|---|
| public TrimFunctionTemplate. | |
| setTrimCharacter | back to summary |
|---|---|
| public void setTrimCharacter(String trimCharacter) | |
| setTrimSpecification | back to summary |
|---|---|
| public void setTrimSpecification(TrimFunctionTemplate. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TrimFunctionTemplate. | |
| public static final TrimFunctionTemplate. | |
| private final String | |
| public static final TrimFunctionTemplate. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| BOTH | back to summary |
|---|---|
| public static final TrimFunctionTemplate. | |
| LEADING | back to summary |
|---|---|
| public static final TrimFunctionTemplate. | |
| name | back to summary |
|---|---|
| private final String name | |
| TRAILING | back to summary |
|---|---|
| public static final TrimFunctionTemplate. | |
| Specification | back to summary |
|---|---|
| private Specification(String name) | |
| getName | back to summary |
|---|---|
| public String getName() | |