java.lang.Object
java.lang.Enum<Operator>
pl.allegro.tech.hermes.management.infrastructure.query.parser.Operator
All Implemented Interfaces:
Serializable, Comparable<Operator>, Constable

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

    • EQ

      public static final Operator EQ
    • NE

      public static final Operator NE
    • LIKE

      public static final Operator LIKE
    • IN

      public static final Operator IN
    • NOT

      public static final Operator NOT
    • AND

      public static final Operator AND
    • OR

      public static final Operator OR
    • GREATER_THAN

      public static final Operator GREATER_THAN
    • LOWER_THAN

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

      public static Operator from(String name)
    • isValid

      public static boolean isValid(String name)