public enum SqlKeyword extends java.lang.Enum<SqlKeyword> implements ISqlSegment
枚举常量和说明 |
---|
AND |
ASC |
BETWEEN |
DESC |
EQ |
EXISTS |
GE |
GROUP_BY |
GT |
HAVING |
IN |
IS_NOT_NULL |
IS_NULL |
LE |
LIKE |
LT |
NE |
NOT |
NOT_BETWEEN |
NOT_EXISTS |
NOT_IN |
NOT_LIKE |
OR |
ORDER_BY |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getSqlSegment()
SQL 片段
|
static SqlKeyword |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlKeyword[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SqlKeyword AND
public static final SqlKeyword OR
public static final SqlKeyword NOT
public static final SqlKeyword IN
public static final SqlKeyword NOT_IN
public static final SqlKeyword LIKE
public static final SqlKeyword NOT_LIKE
public static final SqlKeyword EQ
public static final SqlKeyword NE
public static final SqlKeyword GT
public static final SqlKeyword GE
public static final SqlKeyword LT
public static final SqlKeyword LE
public static final SqlKeyword IS_NULL
public static final SqlKeyword IS_NOT_NULL
public static final SqlKeyword GROUP_BY
public static final SqlKeyword HAVING
public static final SqlKeyword ORDER_BY
public static final SqlKeyword EXISTS
public static final SqlKeyword NOT_EXISTS
public static final SqlKeyword BETWEEN
public static final SqlKeyword NOT_BETWEEN
public static final SqlKeyword ASC
public static final SqlKeyword DESC
public static SqlKeyword[] values()
for (SqlKeyword c : SqlKeyword.values()) System.out.println(c);
public static SqlKeyword valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getSqlSegment()
ISqlSegment
getSqlSegment
在接口中 ISqlSegment