org.apache.solr.common.params
Enum CollectionParams.CollectionAction
java.lang.Object
java.lang.Enum<CollectionParams.CollectionAction>
org.apache.solr.common.params.CollectionParams.CollectionAction
- All Implemented Interfaces:
- Serializable, Comparable<CollectionParams.CollectionAction>
- Enclosing interface:
- CollectionParams
public static enum CollectionParams.CollectionAction
- extends Enum<CollectionParams.CollectionAction>
CREATE
public static final CollectionParams.CollectionAction CREATE
DELETE
public static final CollectionParams.CollectionAction DELETE
RELOAD
public static final CollectionParams.CollectionAction RELOAD
SYNCSHARD
public static final CollectionParams.CollectionAction SYNCSHARD
CREATEALIAS
public static final CollectionParams.CollectionAction CREATEALIAS
DELETEALIAS
public static final CollectionParams.CollectionAction DELETEALIAS
SPLITSHARD
public static final CollectionParams.CollectionAction SPLITSHARD
DELETESHARD
public static final CollectionParams.CollectionAction DELETESHARD
CREATESHARD
public static final CollectionParams.CollectionAction CREATESHARD
values
public static CollectionParams.CollectionAction[] 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 (CollectionParams.CollectionAction c : CollectionParams.CollectionAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CollectionParams.CollectionAction 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 name
NullPointerException
- if the argument is null
get
public static CollectionParams.CollectionAction get(String p)
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.