Enum Class Matcher.MatcherType

java.lang.Object
java.lang.Enum<Matcher.MatcherType>
org.forgerock.opendj.ldap.Matcher.MatcherType
All Implemented Interfaces:
Serializable, Comparable<Matcher.MatcherType>, java.lang.constant.Constable
Enclosing class:
Matcher

public static enum Matcher.MatcherType extends Enum<Matcher.MatcherType>
The types of compiled matcher. These are identical to FilterType, except that filters that cannot be compiled, including unrecognized filters, are assigned the type UNDEFINED.
  • Enum Constant Details

    • EQUALITY

      public static final Matcher.MatcherType EQUALITY
      The matcher type for equality filters.
    • APPROXIMATE

      public static final Matcher.MatcherType APPROXIMATE
      The matcher type for approximate filters.
    • ORDERING

      public static final Matcher.MatcherType ORDERING
      The matcher type for ordering filters.
    • PRESENT

      public static final Matcher.MatcherType PRESENT
      The matcher type for presence filters.
    • SUBSTRINGS

      public static final Matcher.MatcherType SUBSTRINGS
      The matcher type for substring filters.
    • EXTENSIBLE

      public static final Matcher.MatcherType EXTENSIBLE
      The matcher type for extensible matching filters.
    • AND

      public static final Matcher.MatcherType AND
      The matcher type for AND filters.
    • OR

      public static final Matcher.MatcherType OR
      The matcher type for OR filters.
    • NOT

      public static final Matcher.MatcherType NOT
      The matcher type for NOT filters.
    • UNDEFINED

      public static final Matcher.MatcherType UNDEFINED
      The matcher type for filters that could not be compiled (will always yield UNDEFINED).
  • Method Details

    • values

      public static Matcher.MatcherType[] 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 Matcher.MatcherType 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