Enum Class Quantifier

java.lang.Object
java.lang.Enum<Quantifier>
com.darkcollective.relix.ast.Quantifier
All Implemented Interfaces:
Serializable, Comparable<Quantifier>, Constable

public enum Quantifier extends Enum<Quantifier>
Which comparisons a QuantifiedPredicate needs to hold: x > ANY (…) holds when some row's comparison does, x > ALL (…) when every row's does.
  • Enum Constant Details

    • ANY

      public static final Quantifier ANY
      Some row's comparison holds: SQL's ANY, and SOME.
    • ALL

      public static final Quantifier ALL
      Every row's comparison holds.
  • Method Details

    • values

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