Package org.apache.solr.common.params
Enum Class CollectionParams.CollectionAction
java.lang.Object
java.lang.Enum<CollectionParams.CollectionAction>
org.apache.solr.common.params.CollectionParams.CollectionAction
- All Implemented Interfaces:
Serializable,Comparable<CollectionParams.CollectionAction>,java.lang.constant.Constable
- Enclosing interface:
CollectionParams
public static enum CollectionParams.CollectionAction
extends Enum<CollectionParams.CollectionAction>
(Mostly) Collection API actions that can be sent by nodes to the Overseer over the
/overseer/collection-queue-work ZooKeeper queue.
Some of these actions are also used over the cluster state update queue at
/overseer/queue and have a different (though related) meaning there. These actions are:
CREATE, DELETE, CREATESHARD, DELETESHARD, ADDREPLICA, ADDREPLICAPROP, DELETEREPLICAPROP, BALANCESHARDUNIQUE
and MODIFYCOLLECTION.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleantoLower()Returns the enum constant of this class with the specified name.static CollectionParams.CollectionAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
-
DELETE
-
RELOAD
-
SYNCSHARD
-
CREATEALIAS
-
DELETEALIAS
-
ALIASPROP
-
LISTALIASES
-
MAINTAINROUTEDALIAS
-
DELETEROUTEDALIASCOLLECTIONS
-
SPLITSHARD
-
DELETESHARD
-
CREATESHARD
-
DELETEREPLICA
-
FORCELEADER
-
MIGRATE
-
ADDROLE
-
REMOVEROLE
-
CLUSTERPROP
-
COLLECTIONPROP
-
REQUESTSTATUS
-
DELETESTATUS
-
ADDREPLICA
-
MOVEREPLICA
-
OVERSEERSTATUS
-
DISTRIBUTEDAPIPROCESSING
-
LIST
-
CLUSTERSTATUS
-
ADDREPLICAPROP
-
DELETEREPLICAPROP
-
BALANCESHARDUNIQUE
-
REBALANCELEADERS
-
MODIFYCOLLECTION
-
BACKUP
-
RESTORE
-
INSTALLSHARDDATA
-
LISTBACKUP
-
DELETEBACKUP
-
CREATESNAPSHOT
-
DELETESNAPSHOT
-
LISTSNAPSHOTS
-
MOCK_COLL_TASK
-
MOCK_SHARD_TASK
-
REPLACENODE
-
MIGRATE_REPLICAS
-
BALANCE_REPLICAS
-
DELETENODE
-
MOCK_REPLICA_TASK
-
NONE
-
MERGESHARDS
-
COLSTATUS
-
REINDEXCOLLECTION
-
RENAME
-
-
Field Details
-
isWrite
public final boolean isWrite -
lowerName
-
lockLevel
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-
isEqual
-
toLower
-