public static enum CoreApiMapping.Meta extends Enum<CoreApiMapping.Meta> implements CollectionApiMapping.CommandMeta
Enum Constant and Description |
---|
CREATE |
INVOKE |
MERGEINDEXES |
OVERSEEROP |
PREPRECOVERY |
REJOINLEADERELECTION |
RELOAD |
RENAME |
REQUESTAPPLYUPDATES |
REQUESTBUFFERUPDATES |
REQUESTRECOVERY |
REQUESTSTATUS |
REQUESTSYNCSHARD |
SPLIT |
STATUS |
SWAP |
UNLOAD |
Modifier and Type | Field and Description |
---|---|
CoreAdminParams.CoreAdminAction |
action |
String |
commandName |
CoreApiMapping.EndPoint |
endPoint |
SolrRequest.METHOD |
method |
Map<String,String> |
paramstoAttr |
Modifier and Type | Method and Description |
---|---|
CollectionApiMapping.V2EndPoint |
getEndPoint() |
SolrRequest.METHOD |
getHttpMethod()
the http method supported by this command
|
String |
getName() |
String |
getParamSubstitute(String param)
Given a v1 param, return the v2 attribute (possibly a dotted path).
|
static CoreApiMapping.Meta |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreApiMapping.Meta[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getParamNamesIterator
public static final CoreApiMapping.Meta CREATE
public static final CoreApiMapping.Meta UNLOAD
public static final CoreApiMapping.Meta RELOAD
public static final CoreApiMapping.Meta STATUS
public static final CoreApiMapping.Meta SWAP
public static final CoreApiMapping.Meta RENAME
public static final CoreApiMapping.Meta MERGEINDEXES
public static final CoreApiMapping.Meta SPLIT
public static final CoreApiMapping.Meta PREPRECOVERY
public static final CoreApiMapping.Meta REQUESTRECOVERY
public static final CoreApiMapping.Meta REQUESTSYNCSHARD
public static final CoreApiMapping.Meta REQUESTBUFFERUPDATES
public static final CoreApiMapping.Meta REQUESTAPPLYUPDATES
public static final CoreApiMapping.Meta REQUESTSTATUS
public static final CoreApiMapping.Meta OVERSEEROP
public static final CoreApiMapping.Meta REJOINLEADERELECTION
public static final CoreApiMapping.Meta INVOKE
public final String commandName
public final CoreApiMapping.EndPoint endPoint
public final SolrRequest.METHOD method
public final CoreAdminParams.CoreAdminAction action
public static CoreApiMapping.Meta[] values()
for (CoreApiMapping.Meta c : CoreApiMapping.Meta.values()) System.out.println(c);
public static CoreApiMapping.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 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 String getParamSubstitute(String param)
CollectionApiMapping.CommandMeta
getParamSubstitute
in interface CollectionApiMapping.CommandMeta
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.