public enum MatchType extends Enum<MatchType>
| 枚举常量和说明 |
|---|
BETWEEN
between
|
EMPTY
empty
|
EQ
等于
|
GE
大于等于
|
GT
大于
|
IN
in
|
LE
小于等于
|
LIKE
模糊查询
|
LT
小于
|
NE
不等于
|
NOTEMPTY
not empty
|
NOTIN
not in
|
NOTNULL
not null
|
NULL
is null
|
SQL
where sql
|
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
exits(String str) |
static MatchType |
get(String param) |
boolean |
isExistParams() |
boolean |
isMultiParams() |
MatchType |
setExistParams(boolean existParams) |
MatchType |
setMultiParams(boolean multiParams) |
static MatchType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MatchType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MatchType EQ
public static final MatchType LIKE
public static final MatchType LT
public static final MatchType GT
public static final MatchType LE
public static final MatchType GE
public static final MatchType IN
public static final MatchType NOTIN
public static final MatchType NE
public static final MatchType NULL
public static final MatchType NOTNULL
public static final MatchType EMPTY
public static final MatchType NOTEMPTY
public static final MatchType BETWEEN
public static final MatchType SQL
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static boolean exits(String str)
public boolean isExistParams()
public MatchType setExistParams(boolean existParams)
public boolean isMultiParams()
public MatchType setMultiParams(boolean multiParams)
Copyright © 2019. All rights reserved.