Package org.apache.solr.search
Enum SolrReturnFields.FIELD_SOURCES
- java.lang.Object
-
- java.lang.Enum<SolrReturnFields.FIELD_SOURCES>
-
- org.apache.solr.search.SolrReturnFields.FIELD_SOURCES
-
- All Implemented Interfaces:
Serializable
,Comparable<SolrReturnFields.FIELD_SOURCES>
- Enclosing class:
- SolrReturnFields
public static enum SolrReturnFields.FIELD_SOURCES extends Enum<SolrReturnFields.FIELD_SOURCES>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_FROM_DV
ALL_FROM_STORED
MIXED_SOURCES
NOT_SET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolrReturnFields.FIELD_SOURCES
valueOf(String name)
Returns the enum constant of this type with the specified name.static SolrReturnFields.FIELD_SOURCES[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SET
public static final SolrReturnFields.FIELD_SOURCES NOT_SET
-
ALL_FROM_DV
public static final SolrReturnFields.FIELD_SOURCES ALL_FROM_DV
-
ALL_FROM_STORED
public static final SolrReturnFields.FIELD_SOURCES ALL_FROM_STORED
-
MIXED_SOURCES
public static final SolrReturnFields.FIELD_SOURCES MIXED_SOURCES
-
-
Method Detail
-
values
public static SolrReturnFields.FIELD_SOURCES[] 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 (SolrReturnFields.FIELD_SOURCES c : SolrReturnFields.FIELD_SOURCES.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolrReturnFields.FIELD_SOURCES 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 nameNullPointerException
- if the argument is null
-
-