public enum KeyFrag extends Enum<KeyFrag> implements IFragment
| 枚举常量和说明 |
|---|
AND
and
|
DELETE |
DISTINCT |
FROM
FROM
|
GROUP_BY
GROUP BY标识
|
HAVING
HAVING标识
|
INSERT_INTO |
OR
or
|
ORDER_BY
ORDER BY标识
|
SELECT
SELECT
|
SET |
UPDATE |
WHERE
WHERE
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
get(IMapping mapping)
SQL 片段
|
String |
key() |
String |
toString() |
static KeyFrag |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeyFrag[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final KeyFrag SELECT
public static final KeyFrag DISTINCT
public static final KeyFrag INSERT_INTO
public static final KeyFrag DELETE
public static final KeyFrag UPDATE
public static final KeyFrag SET
public static final KeyFrag FROM
public static final KeyFrag WHERE
public static final KeyFrag GROUP_BY
public static final KeyFrag HAVING
public static final KeyFrag ORDER_BY
public static final KeyFrag AND
public static final KeyFrag OR
public static KeyFrag[] values()
for (KeyFrag c : KeyFrag.values()) System.out.println(c);
public static KeyFrag valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String key()
Copyright © 2021. All rights reserved.