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