Enum Class Condition.Operator
- All Implemented Interfaces:
Serializable,Comparable<Condition.Operator>,Constable
- Enclosing class:
Condition
比较运算符枚举。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription区间范围等于大于大于等于在集合中不为空为空小于小于等于模糊匹配不等于不在集合中不匹配 -
Method Summary
Modifier and TypeMethodDescriptiongetSql()获取 SQL 运算符字符串。static Condition.OperatorReturns the enum constant of this class with the specified name.static Condition.Operator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
等于 -
NOT_EQUALS
不等于 -
GREATER_THAN
大于 -
GREATER_THAN_OR_EQUAL
大于等于 -
LESS_THAN
小于 -
LESS_THAN_OR_EQUAL
小于等于 -
LIKE
模糊匹配 -
NOT_LIKE
不匹配 -
IN
在集合中 -
NOT_IN
不在集合中 -
IS_NULL
为空 -
IS_NOT_NULL
不为空 -
BETWEEN
区间范围
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSql
-