public static enum Condition.Type extends Enum<Condition.Type>
Enum Constant and Description |
---|
EQUAL
相等 =
|
GREATER
大于 >
|
GREATER_EQUAL
大于或等于>=
|
IN
in 查询,会替换成 (colName = ? or colName = ? )的形式
|
IS_NULL
为null ,isnull()
|
LESS
小于 <
|
LESS_EQUAL
小于或等于 <=
|
LIKE
模糊查询 like
|
NOT_EQUAL
不等于 !=
|
NOT_NULL
不为空 !isnull()
|
Modifier and Type | Method and Description |
---|---|
static Condition.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Condition.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Condition.Type EQUAL
public static final Condition.Type NOT_EQUAL
public static final Condition.Type GREATER
public static final Condition.Type GREATER_EQUAL
public static final Condition.Type LESS
public static final Condition.Type LESS_EQUAL
public static final Condition.Type IS_NULL
public static final Condition.Type NOT_NULL
public static final Condition.Type LIKE
public static final Condition.Type IN
public static Condition.Type[] values()
for (Condition.Type c : Condition.Type.values()) System.out.println(c);
public static Condition.Type 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 nullCopyright © 2021. All rights reserved.