Enum Class Operator

java.lang.Object
java.lang.Enum<Operator>
org.huiche.core.support.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, Constable

public enum Operator extends Enum<Operator>
Search注解使用的比较操作符
Author:
Maning
See Also:
  • Enum Constant Details

    • IGNORED

      public static final Operator IGNORED
      忽略
    • AUTO

      public static final Operator AUTO
      自动,根据后缀或类型(String时包含,否则eq)
    • EQ

      public static final Operator EQ
      等于
    • GT

      public static final Operator GT
      大于
    • GTE

      public static final Operator GTE
      大于等于
    • LT

      public static final Operator LT
      小于
    • LTE

      public static final Operator LTE
      小于等于
    • NE

      public static final Operator NE
      不等于
    • IS_NULL

      public static final Operator IS_NULL
      为空
    • IS_NOT_NULL

      public static final Operator IS_NOT_NULL
      不为空
    • IN

      public static final Operator IN
      IN
    • NOT_IN

      public static final Operator NOT_IN
      NOT IN
    • BETWEEN

      public static final Operator BETWEEN
      在...之间
    • NOT_BETWEEN

      public static final Operator NOT_BETWEEN
      不在...之间
    • LIKE

      public static final Operator LIKE
      LIKE
    • NOT_LIKE

      public static final Operator NOT_LIKE
      NOT LIKE
    • START_WITH

      public static final Operator START_WITH
      以XXX开始
    • NOT_START_WITH

      public static final Operator NOT_START_WITH
      不以XXX开始
    • END_WITH

      public static final Operator END_WITH
      以XXX结尾
    • NOT_END_WITH

      public static final Operator NOT_END_WITH
      不以XXX结尾
    • CONTAINS

      public static final Operator CONTAINS
      包含
    • NOT_CONTAINS

      public static final Operator NOT_CONTAINS
      不包含
    • REGEXP_LIKE

      public static final Operator REGEXP_LIKE
      正则匹配
  • Method Details

    • values

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