public enum QueryType extends Enum<QueryType>
| 枚举常量和说明 |
|---|
Delete
Delete 类型
|
Insert
Insert 类型
|
Query
查询类型 类型
|
Segment
Sql 片段,可以被 include
|
Update
Update 类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getXmlTag() |
static QueryType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QueryType |
valueOfTag(String xmlTag) |
static QueryType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QueryType Insert
public static final QueryType Delete
public static final QueryType Update
public static final QueryType Query
public static final QueryType Segment
public static QueryType[] values()
for (QueryType c : QueryType.values()) System.out.println(c);
public static QueryType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getXmlTag()
Copyright © 2021. All rights reserved.