public enum SqlKeyword extends Enum<SqlKeyword> implements ISqlSegment, CharSequence
| 枚举常量和说明 |
|---|
AND |
ANY |
ARRAY_OVERLAP
数组重叠
|
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 |
ON |
OR |
ORDER_BY |
UNION_ALL |
| 限定符和类型 | 方法和说明 |
|---|---|
char |
charAt(int index) |
String |
getSqlSegment()
SQL 片段
|
int |
length() |
CharSequence |
subSequence(int start,
int end) |
static SqlKeyword |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlKeyword[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfchars, codePoints, toStringpublic static final SqlKeyword AND
public static final SqlKeyword OR
public static final SqlKeyword NOT
public static final SqlKeyword IN
public static final SqlKeyword ON
public static final SqlKeyword NOT_IN
public static final SqlKeyword LIKE
public static final SqlKeyword UNION_ALL
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 ARRAY_OVERLAP
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 final SqlKeyword ANY
public static SqlKeyword[] values()
for (SqlKeyword c : SqlKeyword.values()) System.out.println(c);
public static SqlKeyword valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getSqlSegment()
ISqlSegmentgetSqlSegment 在接口中 ISqlSegmentpublic int length()
length 在接口中 CharSequencepublic char charAt(int index)
charAt 在接口中 CharSequencepublic CharSequence subSequence(int start, int end)
subSequence 在接口中 CharSequenceCopyright © 2022. All rights reserved.