Package org.apache.solr.handler.admin
Enum Class CollectionsHandler.CollectionOperation
java.lang.Object
java.lang.Enum<CollectionsHandler.CollectionOperation>
org.apache.solr.handler.admin.CollectionsHandler.CollectionOperation
- All Implemented Interfaces:
Serializable,Comparable<CollectionsHandler.CollectionOperation>,Constable
- Enclosing class:
CollectionsHandler
public static enum CollectionsHandler.CollectionOperation
extends Enum<CollectionsHandler.CollectionOperation>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange properties for an alias (use CREATEALIAS_OP to change the actual value of the alias)Handle cluster status request.Handle list collection request.List the aliases and associated properties. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.apache.solr.handler.admin.CollectionsHandler.CollectionOp -
Method Summary
Modifier and TypeMethodDescriptionexecute(SolrQueryRequest req, SolrQueryResponse rsp, CollectionsHandler h) get(org.apache.solr.common.params.CollectionParams.CollectionAction action) Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_OP
-
COLSTATUS_OP
-
DELETE_OP
-
RELOAD_OP
-
RENAME_OP
-
REINDEXCOLLECTION_OP
-
SYNCSHARD_OP
-
CREATEALIAS_OP
-
DELETEALIAS_OP
-
ALIASPROP_OP
Change properties for an alias (use CREATEALIAS_OP to change the actual value of the alias) -
LISTALIASES_OP
List the aliases and associated properties. -
SPLITSHARD_OP
-
DELETESHARD_OP
-
FORCELEADER_OP
-
CREATESHARD_OP
-
DELETEREPLICA_OP
-
MIGRATE_OP
-
ADDROLE_OP
-
REMOVEROLE_OP
-
CLUSTERPROP_OP
-
COLLECTIONPROP_OP
-
REQUESTSTATUS_OP
-
DELETESTATUS_OP
-
ADDREPLICA_OP
-
OVERSEERSTATUS_OP
-
DISTRIBUTEDAPIPROCESSING_OP
-
LIST_OP
Handle list collection request. Do list collection request to zk host -
CLUSTERSTATUS_OP
Handle cluster status request. Can return status per specific collection/shard or per all collections. -
ADDREPLICAPROP_OP
-
DELETEREPLICAPROP_OP
-
BALANCESHARDUNIQUE_OP
-
REBALANCELEADERS_OP
-
MODIFYCOLLECTION_OP
-
BACKUP_OP
-
RESTORE_OP
-
INSTALLSHARDDATA_OP
-
DELETEBACKUP_OP
-
LISTBACKUP_OP
-
CREATESNAPSHOT_OP
-
DELETESNAPSHOT_OP
-
LISTSNAPSHOTS_OP
-
REPLACENODE_OP
-
MOVEREPLICA_OP
-
DELETENODE_OP
-
MOCK_COLL_TASK_OP
-
-
Field Details
-
fun
public final org.apache.solr.handler.admin.CollectionsHandler.CollectionOp fun
-
-
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
public static CollectionsHandler.CollectionOperation get(org.apache.solr.common.params.CollectionParams.CollectionAction action) -
execute
public Map<String,Object> execute(SolrQueryRequest req, SolrQueryResponse rsp, CollectionsHandler h) throws Exception - Throws:
Exception
-