public static enum FieldType.MultiValueSelector extends Enum<FieldType.MultiValueSelector>
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.SortedNumericSelector.Type |
getSortedNumericSelectorType()
The appropriate
SortedNumericSelector.Type option for this MultiValueSelector,
may be null if there is no equivilent |
org.apache.lucene.search.SortedSetSelector.Type |
getSortedSetSelectorType()
The appropriate
SortedSetSelector.Type option for this MultiValueSelector,
may be null if there is no equivilent |
static FieldType.MultiValueSelector |
lookup(String label)
Returns a MultiValueSelector matching the specified (case insensitive) label, or null if
no corrisponding MultiValueSelector exists.
|
String |
toString() |
static FieldType.MultiValueSelector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldType.MultiValueSelector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldType.MultiValueSelector MIN
public static final FieldType.MultiValueSelector MAX
public static FieldType.MultiValueSelector[] values()
for (FieldType.MultiValueSelector c : FieldType.MultiValueSelector.values()) System.out.println(c);
public static FieldType.MultiValueSelector valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<FieldType.MultiValueSelector>public org.apache.lucene.search.SortedSetSelector.Type getSortedSetSelectorType()
SortedSetSelector.Type option for this MultiValueSelector,
may be null if there is no equivilentpublic org.apache.lucene.search.SortedNumericSelector.Type getSortedNumericSelectorType()
SortedNumericSelector.Type option for this MultiValueSelector,
may be null if there is no equivilentpublic static FieldType.MultiValueSelector lookup(String label)
label - a non null label to be checked for a corrisponding MultiValueSelectorCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.