Package 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>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description boolean
isWrite
CollectionParams.LockLevel
lockLevel
String
lowerName
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollectionParams.CollectionAction
get(String p)
boolean
isEqual(String s)
String
toLower()
static CollectionParams.CollectionAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static CollectionParams.CollectionAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
ALIASPROP
public static final CollectionParams.CollectionAction ALIASPROP
-
LISTALIASES
public static final CollectionParams.CollectionAction LISTALIASES
-
MAINTAINROUTEDALIAS
public static final CollectionParams.CollectionAction MAINTAINROUTEDALIAS
-
DELETEROUTEDALIASCOLLECTIONS
public static final CollectionParams.CollectionAction DELETEROUTEDALIASCOLLECTIONS
-
SPLITSHARD
public static final CollectionParams.CollectionAction SPLITSHARD
-
DELETESHARD
public static final CollectionParams.CollectionAction DELETESHARD
-
CREATESHARD
public static final CollectionParams.CollectionAction CREATESHARD
-
DELETEREPLICA
public static final CollectionParams.CollectionAction DELETEREPLICA
-
FORCELEADER
public static final CollectionParams.CollectionAction FORCELEADER
-
MIGRATE
public static final CollectionParams.CollectionAction MIGRATE
-
ADDROLE
public static final CollectionParams.CollectionAction ADDROLE
-
REMOVEROLE
public static final CollectionParams.CollectionAction REMOVEROLE
-
CLUSTERPROP
public static final CollectionParams.CollectionAction CLUSTERPROP
-
COLLECTIONPROP
public static final CollectionParams.CollectionAction COLLECTIONPROP
-
REQUESTSTATUS
public static final CollectionParams.CollectionAction REQUESTSTATUS
-
DELETESTATUS
public static final CollectionParams.CollectionAction DELETESTATUS
-
ADDREPLICA
public static final CollectionParams.CollectionAction ADDREPLICA
-
MOVEREPLICA
public static final CollectionParams.CollectionAction MOVEREPLICA
-
OVERSEERSTATUS
public static final CollectionParams.CollectionAction OVERSEERSTATUS
-
LIST
public static final CollectionParams.CollectionAction LIST
-
CLUSTERSTATUS
public static final CollectionParams.CollectionAction CLUSTERSTATUS
-
ADDREPLICAPROP
public static final CollectionParams.CollectionAction ADDREPLICAPROP
-
DELETEREPLICAPROP
public static final CollectionParams.CollectionAction DELETEREPLICAPROP
-
BALANCESHARDUNIQUE
public static final CollectionParams.CollectionAction BALANCESHARDUNIQUE
-
REBALANCELEADERS
public static final CollectionParams.CollectionAction REBALANCELEADERS
-
MODIFYCOLLECTION
public static final CollectionParams.CollectionAction MODIFYCOLLECTION
-
MIGRATESTATEFORMAT
public static final CollectionParams.CollectionAction MIGRATESTATEFORMAT
-
BACKUP
public static final CollectionParams.CollectionAction BACKUP
-
RESTORE
public static final CollectionParams.CollectionAction RESTORE
-
CREATESNAPSHOT
public static final CollectionParams.CollectionAction CREATESNAPSHOT
-
DELETESNAPSHOT
public static final CollectionParams.CollectionAction DELETESNAPSHOT
-
LISTSNAPSHOTS
public static final CollectionParams.CollectionAction LISTSNAPSHOTS
-
UTILIZENODE
public static final CollectionParams.CollectionAction UTILIZENODE
-
MOCK_COLL_TASK
public static final CollectionParams.CollectionAction MOCK_COLL_TASK
-
MOCK_SHARD_TASK
public static final CollectionParams.CollectionAction MOCK_SHARD_TASK
-
REPLACENODE
public static final CollectionParams.CollectionAction REPLACENODE
-
DELETENODE
public static final CollectionParams.CollectionAction DELETENODE
-
MOCK_REPLICA_TASK
public static final CollectionParams.CollectionAction MOCK_REPLICA_TASK
-
NONE
public static final CollectionParams.CollectionAction NONE
-
MERGESHARDS
public static final CollectionParams.CollectionAction MERGESHARDS
-
COLSTATUS
public static final CollectionParams.CollectionAction COLSTATUS
-
REINDEXCOLLECTION
public static final CollectionParams.CollectionAction REINDEXCOLLECTION
-
RENAME
public static final CollectionParams.CollectionAction RENAME
-
-
Field Detail
-
isWrite
public final boolean isWrite
-
lowerName
public final String lowerName
-
lockLevel
public final CollectionParams.LockLevel lockLevel
-
-
Method Detail
-
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 nameNullPointerException
- if the argument is null
-
get
public static CollectionParams.CollectionAction get(String p)
-
isEqual
public boolean isEqual(String s)
-
toLower
public String toLower()
-
-