public final class SQLUtil extends Object
| 构造器和说明 |
|---|
SQLUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getExactlyExpression(String value)
Get exactly SQL expression.
|
static Number |
getExactlyNumber(String value,
int radix)
Get exactly number value and type.
|
static String |
getExactlyValue(String value)
Get exactly value for SQL expression.
|
static String |
getExpressionWithoutOutsideParentheses(String value)
Get exactly SQL expression without outside parentheses.
|
public static Number getExactlyNumber(String value, int radix)
value - string to be convertedradix - radixpublic static String getExactlyValue(String value)
remove special char for SQL expression
value - SQL expressionpublic static String getExactlyExpression(String value)
remove space for SQL expression
value - SQL expressionCopyright © 2020 The Apache Software Foundation. All rights reserved.