Enum Class ConditionType
- All Implemented Interfaces:
Serializable, Comparable<ConditionType>, Constable
ConditionType
- Version:
- 0.0.1
- Author:
- scx567888
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription在范围内 (low <= field <= high)等于 == (支持 null 比较)大于 >大于等于 >=在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)双端模糊匹配正则表达式匹配小于 <小于等于 <=不等于 !不在范围内 (field < low 或 field > high)不在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)NOT 双端模糊匹配NOT 正则表达式匹配 -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionTypeReturns the enum constant of this class with the specified name.static ConditionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQ
等于 == (支持 null 比较) -
NE
不等于 != (支持 null 比较) -
LT
小于 < -
LTE
小于等于 <= -
GT
大于 > -
GTE
大于等于 >= -
LIKE
双端模糊匹配 -
NOT_LIKE
NOT 双端模糊匹配 -
LIKE_REGEX
正则表达式匹配 -
NOT_LIKE_REGEX
NOT 正则表达式匹配 -
IN
在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项) -
NOT_IN
不在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项) -
BETWEEN
在范围内 (low <= field <= high) -
NOT_BETWEEN
不在范围内 (field < low 或 field > high)
-
-
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
-