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>
(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.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleantoLower()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 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isEqual
-
toLower
-