Package org.apache.solr.client.solrj
Enum SolrRequest.SolrClientContext
- java.lang.Object
-
- java.lang.Enum<SolrRequest.SolrClientContext>
-
- org.apache.solr.client.solrj.SolrRequest.SolrClientContext
-
- All Implemented Interfaces:
Serializable
,Comparable<SolrRequest.SolrClientContext>
- Enclosing class:
- SolrRequest<T extends SolrResponse>
public static enum SolrRequest.SolrClientContext extends Enum<SolrRequest.SolrClientContext>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolrRequest.SolrClientContext
valueOf(String name)
Returns the enum constant of this type with the specified name.static SolrRequest.SolrClientContext[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT
public static final SolrRequest.SolrClientContext CLIENT
-
SERVER
public static final SolrRequest.SolrClientContext SERVER
-
-
Method Detail
-
values
public static SolrRequest.SolrClientContext[] 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 (SolrRequest.SolrClientContext c : SolrRequest.SolrClientContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolrRequest.SolrClientContext 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
-
-