public static interface JdbcDialect.SQLFunction extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
JdbcDialect.SQLFunction.DefaultFunction
Default SQL function enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
static JdbcDialect.SQLFunction |
create(String name,
boolean parenthesesIfNoArguments)
Create a
JdbcDialect.SQLFunction. |
String |
getName()
Get the function name
|
boolean |
hasParenthesesIfNoArguments()
Get whether parentheses are required if there are no arguments.
|
String |
serialize(List<String> arguments)
Serialize the function as SQL
|
default String |
serialize(String... arguments)
Serialize the function as SQL
|
String getName()
boolean hasParenthesesIfNoArguments()
true if parentheses are required if there are no arguments, false otherwiseString serialize(List<String> arguments)
arguments - Optional function argumentsdefault String serialize(String... arguments)
arguments - Function argumentsstatic JdbcDialect.SQLFunction create(String name, boolean parenthesesIfNoArguments)
JdbcDialect.SQLFunction.name - Function name (not null)parenthesesIfNoArguments - Whether parentheses are required if there are no argumentsJdbcDialect.SQLFunctionCopyright © 2017 The Holon Platform. All rights reserved.