Enum Class WhereType

java.lang.Object
java.lang.Enum<WhereType>
cool.scx.data.query.WhereType
所有已实现的接口:
Serializable, Comparable<WhereType>, Constable

public enum WhereType extends Enum<WhereType>
WhereType
where 查询条件的一些类型 如果无法满足要求请使用 whereSQL
版本:
0.0.1
作者:
scx567888
  • 枚举常量详细资料

    • IS_NULL

      public static final WhereType IS_NULL
      为空
    • IS_NOT_NULL

      public static final WhereType IS_NOT_NULL
      不为空
    • EQUAL

      public static final WhereType EQUAL
      等于
    • NOT_EQUAL

      public static final WhereType NOT_EQUAL
      不等于
    • LESS_THAN

      public static final WhereType LESS_THAN
      小于
    • LESS_THAN_OR_EQUAL

      public static final WhereType LESS_THAN_OR_EQUAL
      小于等于
    • GREATER_THAN

      public static final WhereType GREATER_THAN
      大于
    • GREATER_THAN_OR_EQUAL

      public static final WhereType GREATER_THAN_OR_EQUAL
      大于等于
    • LIKE

      public static final WhereType LIKE
      Like
    • NOT_LIKE

      public static final WhereType NOT_LIKE
      Not Like
    • LIKE_REGEX

      public static final WhereType LIKE_REGEX
      Like 正则表达式
    • NOT_LIKE_REGEX

      public static final WhereType NOT_LIKE_REGEX
      Like 正则表达式
    • IN

      public static final WhereType IN
      IN
    • NOT_IN

      public static final WhereType NOT_IN
      NOT IN
    • BETWEEN

      public static final WhereType BETWEEN
      在之间
    • NOT_BETWEEN

      public static final WhereType NOT_BETWEEN
      不在之间
    • JSON_CONTAINS

      public static final WhereType JSON_CONTAINS
      json 包含 一般用于 数组判断
  • 方法详细资料

    • values

      public static WhereType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static WhereType valueOf(String name)
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • of

      public static WhereType of(String whereTypeStr)
      a
      参数:
      whereTypeStr - a
      返回:
      a
    • paramSize

      public int paramSize()
      获取参数数量
      返回:
      参数数量