Package cool.scx.data.query
Enum Class WhereType
- All Implemented Interfaces:
Serializable,Comparable<WhereType>,Constable
WhereType
where 查询条件的一些类型 如果无法满足要求请使用 whereSQL
where 查询条件的一些类型 如果无法满足要求请使用 whereSQL
- Version:
- 0.0.1
- Author:
- scx567888
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription在之间等于大于大于等于IN不为空为空json 包含 一般用于 数组判断小于小于等于LikeLike 正则表达式不在之间不等于NOT INNot LikeLike 正则表达式 -
Method Summary
-
Enum Constant Details
-
IS_NULL
为空 -
IS_NOT_NULL
不为空 -
EQUAL
等于 -
NOT_EQUAL
不等于 -
LESS_THAN
小于 -
LESS_THAN_OR_EQUAL
小于等于 -
GREATER_THAN
大于 -
GREATER_THAN_OR_EQUAL
大于等于 -
LIKE
Like -
NOT_LIKE
Not Like -
LIKE_REGEX
Like 正则表达式 -
NOT_LIKE_REGEX
Like 正则表达式 -
IN
IN -
NOT_IN
NOT IN -
BETWEEN
在之间 -
NOT_BETWEEN
不在之间 -
JSON_CONTAINS
json 包含 一般用于 数组判断
-
-
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
-
of
a- Parameters:
whereTypeStr- a- Returns:
- a
-
paramSize
public int paramSize()获取参数数量- Returns:
- 参数数量
-