Enum Class Operator

java.lang.Object
java.lang.Enum<Operator>
io.github.queritylib.querity.api.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, Constable

public enum Operator extends Enum<Operator>
  • Enum Constant Details

    • EQUALS

      public static final Operator EQUALS
    • NOT_EQUALS

      public static final Operator NOT_EQUALS
    • STARTS_WITH

      public static final Operator STARTS_WITH
    • ENDS_WITH

      public static final Operator ENDS_WITH
    • CONTAINS

      public static final Operator CONTAINS
    • GREATER_THAN

      public static final Operator GREATER_THAN
    • GREATER_THAN_EQUALS

      public static final Operator GREATER_THAN_EQUALS
    • LESSER_THAN

      public static final Operator LESSER_THAN
    • LESSER_THAN_EQUALS

      public static final Operator LESSER_THAN_EQUALS
    • IS_NULL

      public static final Operator IS_NULL
    • IS_NOT_NULL

      public static final Operator IS_NOT_NULL
    • IN

      public static final Operator IN
    • NOT_IN

      public static final Operator NOT_IN
  • 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