public enum SqlMethod extends Enum<SqlMethod>
SqlMethod| 枚举常量和说明 |
|---|
SELECT_JOIN_COUNT
连表查询
|
SELECT_JOIN_LIST |
SELECT_JOIN_MAP |
SELECT_JOIN_MAPS |
SELECT_JOIN_MAPS_PAGE |
SELECT_JOIN_ONE |
SELECT_JOIN_PAGE |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMethod() |
String |
getSql() |
static SqlMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SqlMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SqlMethod SELECT_JOIN_COUNT
public static final SqlMethod SELECT_JOIN_ONE
public static final SqlMethod SELECT_JOIN_LIST
public static final SqlMethod SELECT_JOIN_MAP
public static final SqlMethod SELECT_JOIN_MAPS
public static final SqlMethod SELECT_JOIN_PAGE
public static final SqlMethod SELECT_JOIN_MAPS_PAGE
public static SqlMethod[] values()
for (SqlMethod c : SqlMethod.values()) System.out.println(c);
public static SqlMethod valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getMethod()
public String getSql()
Copyright © 2022. All rights reserved.