Enum FieldType.MultiValueSelector

    • Method Detail

      • values

        public static FieldType.MultiValueSelector[] 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 (FieldType.MultiValueSelector c : FieldType.MultiValueSelector.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FieldType.MultiValueSelector 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
      • getSortedSetSelectorType

        public org.apache.lucene.search.SortedSetSelector.Type getSortedSetSelectorType()
        The appropriate SortedSetSelector.Type option for this MultiValueSelector, may be null if there is no equivalent
      • getSortedNumericSelectorType

        public org.apache.lucene.search.SortedNumericSelector.Type getSortedNumericSelectorType()
        The appropriate SortedNumericSelector.Type option for this MultiValueSelector, may be null if there is no equivalent
      • lookup

        public static FieldType.MultiValueSelector lookup​(String label)
        Returns a MultiValueSelector matching the specified (case insensitive) label, or null if no corrisponding MultiValueSelector exists.
        Parameters:
        label - a non null label to be checked for a corrisponding MultiValueSelector
        Returns:
        a MultiValueSelector or null if no MultiValueSelector matches the specified label