public static enum CollectionApiMapping.Meta extends Enum<CollectionApiMapping.Meta> implements CollectionApiMapping.CommandMeta
Modifier and Type | Field and Description |
---|---|
CollectionParams.CollectionAction |
action |
Map<String,String> |
attrsToParams |
String |
commandName |
CollectionApiMapping.EndPoint |
endPoint |
SolrRequest.METHOD |
method |
Map<String,String> |
paramsToAttrs |
Map<String,String> |
prefixParamsToAttrs |
Modifier and Type | Method and Description |
---|---|
CollectionApiMapping.V2EndPoint |
getEndPoint() |
SolrRequest.METHOD |
getHttpMethod()
the http method supported by this command
|
SolrRequest.METHOD |
getMethod() |
String |
getName() |
Iterator<String> |
getParamNamesIterator(CommandOperation op) |
String |
getParamSubstitute(String param)
Given a v1 param, return the v2 attribute (possibly a dotted path).
|
Object |
getReverseParamSubstitute(String param) |
static CollectionApiMapping.Meta |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionApiMapping.Meta[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionApiMapping.Meta GET_COLLECTIONS
public static final CollectionApiMapping.Meta GET_CLUSTER
public static final CollectionApiMapping.Meta GET_CLUSTER_OVERSEER
public static final CollectionApiMapping.Meta GET_CLUSTER_STATUS_CMD
public static final CollectionApiMapping.Meta DELETE_CLUSTER_STATUS
public static final CollectionApiMapping.Meta GET_A_COLLECTION
public static final CollectionApiMapping.Meta LIST_ALIASES
public static final CollectionApiMapping.Meta CREATE_COLLECTION
public static final CollectionApiMapping.Meta DELETE_COLL
public static final CollectionApiMapping.Meta RELOAD_COLL
public static final CollectionApiMapping.Meta MODIFY_COLLECTION
public static final CollectionApiMapping.Meta MIGRATE_DOCS
public static final CollectionApiMapping.Meta MOVE_REPLICA
public static final CollectionApiMapping.Meta REBALANCE_LEADERS
public static final CollectionApiMapping.Meta CREATE_ALIAS
public static final CollectionApiMapping.Meta DELETE_ALIAS
public static final CollectionApiMapping.Meta ALIAS_PROP
public static final CollectionApiMapping.Meta CREATE_SHARD
public static final CollectionApiMapping.Meta SPLIT_SHARD
public static final CollectionApiMapping.Meta DELETE_SHARD
public static final CollectionApiMapping.Meta CREATE_REPLICA
public static final CollectionApiMapping.Meta DELETE_REPLICA
public static final CollectionApiMapping.Meta SYNC_SHARD
public static final CollectionApiMapping.Meta ADD_REPLICA_PROPERTY
public static final CollectionApiMapping.Meta DELETE_REPLICA_PROPERTY
public static final CollectionApiMapping.Meta SET_COLLECTION_PROPERTY
public static final CollectionApiMapping.Meta ADD_ROLE
public static final CollectionApiMapping.Meta REMOVE_ROLE
public static final CollectionApiMapping.Meta SET_CLUSTER_PROPERTY
public static final CollectionApiMapping.Meta SET_CLUSTER_PROPERTY_OBJ
public static final CollectionApiMapping.Meta UTILIZE_NODE
public static final CollectionApiMapping.Meta BACKUP_COLLECTION
public static final CollectionApiMapping.Meta RESTORE_COLLECTION
public static final CollectionApiMapping.Meta GET_NODES
public static final CollectionApiMapping.Meta FORCE_LEADER
public static final CollectionApiMapping.Meta BALANCE_SHARD_UNIQUE
public final String commandName
public final CollectionApiMapping.EndPoint endPoint
public final SolrRequest.METHOD method
public final CollectionParams.CollectionAction action
public static CollectionApiMapping.Meta[] values()
for (CollectionApiMapping.Meta c : CollectionApiMapping.Meta.values()) System.out.println(c);
public static CollectionApiMapping.Meta 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 SolrRequest.METHOD getMethod()
public String getName()
getName
in interface CollectionApiMapping.CommandMeta
public SolrRequest.METHOD getHttpMethod()
CollectionApiMapping.CommandMeta
getHttpMethod
in interface CollectionApiMapping.CommandMeta
public CollectionApiMapping.V2EndPoint getEndPoint()
getEndPoint
in interface CollectionApiMapping.CommandMeta
public Iterator<String> getParamNamesIterator(CommandOperation op)
getParamNamesIterator
in interface CollectionApiMapping.CommandMeta
public String getParamSubstitute(String param)
CollectionApiMapping.CommandMeta
getParamSubstitute
in interface CollectionApiMapping.CommandMeta
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.