Enum SearchFieldClause.Operator

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ANY
      Any of the values specified must be present in the searching scope.
      GREATER_THAN
      Only values greater than the searching scope may be present.
      GREATER_THAN_OR_EQUAL_TO
      Only values greater than or equal to the searching scope may be present.
      LESS_THAN
      Only values lesser than the searching scope may be present.
      LESS_THAN_OR_EQUAL_TO
      Only values lesser than or equal to the searching scope may be present.
      NONE_OF
      None of the values may be present in the searching scope.
      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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SearchFieldClause.Operator valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SearchFieldClause.Operator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null