Enum SearchFieldClause.Operator

    • Enum Constant Detail

      • ANY

        public static final SearchFieldClause.Operator ANY
        Any of the values specified must be present in the searching scope.
        Since:
        8.1.0
      • NONE_OF

        public static final SearchFieldClause.Operator NONE_OF
        None of the values may be present in the searching scope.
        Since:
        8.1.0
      • GREATER_THAN

        public static final SearchFieldClause.Operator GREATER_THAN
        Only values greater than the searching scope may be present.
        Since:
        8.2.0
      • GREATER_THAN_OR_EQUAL_TO

        public static final SearchFieldClause.Operator GREATER_THAN_OR_EQUAL_TO
        Only values greater than or equal to the searching scope may be present.
        Since:
        8.2.0
      • LESS_THAN

        public static final SearchFieldClause.Operator LESS_THAN
        Only values lesser than the searching scope may be present.
        Since:
        8.2.0
      • LESS_THAN_OR_EQUAL_TO

        public static final SearchFieldClause.Operator LESS_THAN_OR_EQUAL_TO
        Only values lesser than or equal to the searching scope may be present.
        Since:
        8.2.0
      • STARTS_WITH

        public static final SearchFieldClause.Operator STARTS_WITH
        Filter for terms that starts with any of the given values.
        null values will be ignored.
        The value will be converted to String to be used.
        This operator is only supported by String-based fields.
        Since:
        11.0.0
    • Method Detail

      • values

        public static SearchFieldClause.Operator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SearchFieldClause.Operator c : SearchFieldClause.Operator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchFieldClause.Operator valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null