Enum Class ConditionType

java.lang.Object
java.lang.Enum<ConditionType>
cool.scx.data.query.ConditionType
All Implemented Interfaces:
Serializable, Comparable<ConditionType>, Constable

public enum ConditionType extends Enum<ConditionType>
ConditionType
Version:
0.0.1
Author:
scx567888
  • Enum Constant Details

    • EQ

      public static final ConditionType EQ
      等于 == (支持 null 比较)
    • NE

      public static final ConditionType NE
      不等于 != (支持 null 比较)
    • LT

      public static final ConditionType LT
      小于 <
    • LTE

      public static final ConditionType LTE
      小于等于 <=
    • GT

      public static final ConditionType GT
      大于 >
    • GTE

      public static final ConditionType GTE
      大于等于 >=
    • LIKE

      public static final ConditionType LIKE
      双端模糊匹配
    • NOT_LIKE

      public static final ConditionType NOT_LIKE
      NOT 双端模糊匹配
    • LIKE_REGEX

      public static final ConditionType LIKE_REGEX
      正则表达式匹配
    • NOT_LIKE_REGEX

      public static final ConditionType NOT_LIKE_REGEX
      NOT 正则表达式匹配
    • IN

      public static final ConditionType IN
      在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)
    • NOT_IN

      public static final ConditionType NOT_IN
      不在集合内 (集合元素中 null 也是合法匹配项, 空集合则表示不匹配任何项)
    • BETWEEN

      public static final ConditionType BETWEEN
      在范围内 (low <= field <= high)
    • NOT_BETWEEN

      public static final ConditionType NOT_BETWEEN
      不在范围内 (field < low 或 field > high)
  • Method Details

    • values

      public static ConditionType[] 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

      public static ConditionType 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.)
      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 name
      NullPointerException - if the argument is null