Package cn.dinodev.spring.data.sql
Enum Class Oper
- All Implemented Interfaces:
Serializable,Comparable<Oper>,Constable
- Author:
- Cody Lu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
EQ
等于 -
GT
大于 -
LT
小于 -
NE
不等于 -
GTE
大于等于 -
LTE
小于等于 -
LIKE
模糊匹配 -
NOT_LIKE
不匹配 -
IN
包含 -
NOT_IN
不包含 -
IS_NULL
等于空 -
IS_NOT_NULL
不等于空 -
BETWEEN
范围匹配 -
EXISTS
存在
-
-
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
-
getOp
返回操作符- Returns:
-
makeExpr
生成相应的表达式- Parameters:
params-- Returns:
-
hasValue
public boolean hasValue() -
toString
-