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