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