public enum MatchType extends Enum<MatchType>
| Enum Constant and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic 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.