public enum QueryOP extends Enum<QueryOP>
| 枚举常量和说明 |
|---|
BETWEEN |
EQUAL
等于
|
EQUAL_IGNORE_CASE |
GREAT |
GREAT_EQUAL |
IN |
IS_NULL |
LEFT_LIKE |
LESS |
LESS_EQUAL |
LIKE |
NOT_EQUAL |
NOTNULL |
RIGHT_LIKE |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
desc() |
static QueryOP |
getByOP(String op)
根据运算符获取QueryOp
|
static QueryOP |
getByVal(String val) |
String |
op() |
String |
value() |
static QueryOP |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QueryOP[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QueryOP EQUAL
public static final QueryOP EQUAL_IGNORE_CASE
public static final QueryOP LESS
public static final QueryOP GREAT
public static final QueryOP LESS_EQUAL
public static final QueryOP GREAT_EQUAL
public static final QueryOP NOT_EQUAL
public static final QueryOP LIKE
public static final QueryOP LEFT_LIKE
public static final QueryOP RIGHT_LIKE
public static final QueryOP IS_NULL
public static final QueryOP NOTNULL
public static final QueryOP IN
public static final QueryOP BETWEEN
public static QueryOP[] values()
for (QueryOP c : QueryOP.values()) System.out.println(c);
public static QueryOP valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String value()
public String op()
public String desc()
Copyright © 2018. All rights reserved.