public static enum CollectionsHandler.CollectionOperation extends Enum<CollectionsHandler.CollectionOperation>
Enum Constant and 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 |
DELETENODE_OP |
DELETEREPLICA_OP |
DELETEREPLICAPROP_OP |
DELETESHARD_OP |
DELETESNAPSHOT_OP |
DELETESTATUS_OP |
FORCELEADER_OP |
LIST_OP
Handle list collection request.
|
LISTALIASES_OP
List the aliases and associated properties.
|
LISTSNAPSHOTS_OP |
MIGRATE_OP |
MIGRATESTATEFORMAT_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 |
UTILIZENODE_OP |
Modifier and Type | Field and Description |
---|---|
org.apache.solr.handler.admin.CollectionsHandler.CollectionOp |
fun |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
execute(SolrQueryRequest req,
SolrQueryResponse rsp,
CollectionsHandler h) |
static CollectionsHandler.CollectionOperation |
get(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.
|
public static final CollectionsHandler.CollectionOperation CREATE_OP
public static final CollectionsHandler.CollectionOperation COLSTATUS_OP
public static final CollectionsHandler.CollectionOperation DELETE_OP
public static final CollectionsHandler.CollectionOperation RELOAD_OP
public static final CollectionsHandler.CollectionOperation RENAME_OP
public static final CollectionsHandler.CollectionOperation REINDEXCOLLECTION_OP
public static final CollectionsHandler.CollectionOperation SYNCSHARD_OP
public static final CollectionsHandler.CollectionOperation CREATEALIAS_OP
public static final CollectionsHandler.CollectionOperation DELETEALIAS_OP
public static final CollectionsHandler.CollectionOperation ALIASPROP_OP
public static final CollectionsHandler.CollectionOperation LISTALIASES_OP
public static final CollectionsHandler.CollectionOperation SPLITSHARD_OP
public static final CollectionsHandler.CollectionOperation DELETESHARD_OP
public static final CollectionsHandler.CollectionOperation FORCELEADER_OP
public static final CollectionsHandler.CollectionOperation CREATESHARD_OP
public static final CollectionsHandler.CollectionOperation DELETEREPLICA_OP
public static final CollectionsHandler.CollectionOperation MIGRATE_OP
public static final CollectionsHandler.CollectionOperation ADDROLE_OP
public static final CollectionsHandler.CollectionOperation REMOVEROLE_OP
public static final CollectionsHandler.CollectionOperation CLUSTERPROP_OP
public static final CollectionsHandler.CollectionOperation COLLECTIONPROP_OP
public static final CollectionsHandler.CollectionOperation REQUESTSTATUS_OP
public static final CollectionsHandler.CollectionOperation DELETESTATUS_OP
public static final CollectionsHandler.CollectionOperation ADDREPLICA_OP
public static final CollectionsHandler.CollectionOperation OVERSEERSTATUS_OP
public static final CollectionsHandler.CollectionOperation LIST_OP
public static final CollectionsHandler.CollectionOperation CLUSTERSTATUS_OP
public static final CollectionsHandler.CollectionOperation UTILIZENODE_OP
public static final CollectionsHandler.CollectionOperation ADDREPLICAPROP_OP
public static final CollectionsHandler.CollectionOperation DELETEREPLICAPROP_OP
public static final CollectionsHandler.CollectionOperation BALANCESHARDUNIQUE_OP
public static final CollectionsHandler.CollectionOperation REBALANCELEADERS_OP
public static final CollectionsHandler.CollectionOperation MODIFYCOLLECTION_OP
public static final CollectionsHandler.CollectionOperation MIGRATESTATEFORMAT_OP
public static final CollectionsHandler.CollectionOperation BACKUP_OP
public static final CollectionsHandler.CollectionOperation RESTORE_OP
public static final CollectionsHandler.CollectionOperation CREATESNAPSHOT_OP
public static final CollectionsHandler.CollectionOperation DELETESNAPSHOT_OP
public static final CollectionsHandler.CollectionOperation LISTSNAPSHOTS_OP
public static final CollectionsHandler.CollectionOperation REPLACENODE_OP
public static final CollectionsHandler.CollectionOperation MOVEREPLICA_OP
public static final CollectionsHandler.CollectionOperation DELETENODE_OP
public static CollectionsHandler.CollectionOperation[] values()
for (CollectionsHandler.CollectionOperation c : CollectionsHandler.CollectionOperation.values()) System.out.println(c);
public static CollectionsHandler.CollectionOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CollectionsHandler.CollectionOperation get(CollectionParams.CollectionAction action)
public Map<String,Object> execute(SolrQueryRequest req, SolrQueryResponse rsp, CollectionsHandler h) throws Exception
Exception
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.