Enum CoreApiMapping.Meta
- java.lang.Object
-
- java.lang.Enum<CoreApiMapping.Meta>
-
- org.apache.solr.client.solrj.request.CoreApiMapping.Meta
-
- All Implemented Interfaces:
Serializable
,Comparable<CoreApiMapping.Meta>
,CollectionApiMapping.CommandMeta
- Enclosing class:
- CoreApiMapping
public static enum CoreApiMapping.Meta extends Enum<CoreApiMapping.Meta> implements CollectionApiMapping.CommandMeta
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE
INVOKE
MERGEINDEXES
OVERSEEROP
PREPRECOVERY
REJOINLEADERELECTION
RELOAD
RENAME
REQUESTAPPLYUPDATES
REQUESTBUFFERUPDATES
REQUESTRECOVERY
REQUESTSTATUS
REQUESTSYNCSHARD
SPLIT
STATUS
SWAP
UNLOAD
-
Field Summary
Fields Modifier and Type Field Description CoreAdminParams.CoreAdminAction
action
String
commandName
CoreApiMapping.EndPoint
endPoint
SolrRequest.METHOD
method
Map<String,String>
paramstoAttr
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionApiMapping.V2EndPoint
getEndPoint()
SolrRequest.METHOD
getHttpMethod()
the http method supported by this commandString
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.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.apache.solr.client.solrj.request.CollectionApiMapping.CommandMeta
getParamNamesIterator
-
-
-
-
Enum Constant Detail
-
CREATE
public static final CoreApiMapping.Meta CREATE
-
UNLOAD
public static final CoreApiMapping.Meta UNLOAD
-
RELOAD
public static final CoreApiMapping.Meta RELOAD
-
STATUS
public static final CoreApiMapping.Meta STATUS
-
SWAP
public static final CoreApiMapping.Meta SWAP
-
RENAME
public static final CoreApiMapping.Meta RENAME
-
MERGEINDEXES
public static final CoreApiMapping.Meta MERGEINDEXES
-
SPLIT
public static final CoreApiMapping.Meta SPLIT
-
PREPRECOVERY
public static final CoreApiMapping.Meta PREPRECOVERY
-
REQUESTRECOVERY
public static final CoreApiMapping.Meta REQUESTRECOVERY
-
REQUESTSYNCSHARD
public static final CoreApiMapping.Meta REQUESTSYNCSHARD
-
REQUESTBUFFERUPDATES
public static final CoreApiMapping.Meta REQUESTBUFFERUPDATES
-
REQUESTAPPLYUPDATES
public static final CoreApiMapping.Meta REQUESTAPPLYUPDATES
-
REQUESTSTATUS
public static final CoreApiMapping.Meta REQUESTSTATUS
-
OVERSEEROP
public static final CoreApiMapping.Meta OVERSEEROP
-
REJOINLEADERELECTION
public static final CoreApiMapping.Meta REJOINLEADERELECTION
-
INVOKE
public static final CoreApiMapping.Meta INVOKE
-
-
Field Detail
-
commandName
public final String commandName
-
endPoint
public final CoreApiMapping.EndPoint endPoint
-
method
public final SolrRequest.METHOD method
-
action
public final CoreAdminParams.CoreAdminAction action
-
-
Method Detail
-
values
public static CoreApiMapping.Meta[] 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 (CoreApiMapping.Meta c : CoreApiMapping.Meta.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoreApiMapping.Meta 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
-
getName
public String getName()
- Specified by:
getName
in interfaceCollectionApiMapping.CommandMeta
-
getHttpMethod
public SolrRequest.METHOD getHttpMethod()
Description copied from interface:CollectionApiMapping.CommandMeta
the http method supported by this command- Specified by:
getHttpMethod
in interfaceCollectionApiMapping.CommandMeta
-
getEndPoint
public CollectionApiMapping.V2EndPoint getEndPoint()
- Specified by:
getEndPoint
in interfaceCollectionApiMapping.CommandMeta
-
getParamSubstitute
public String getParamSubstitute(String param)
Description copied from interface:CollectionApiMapping.CommandMeta
Given a v1 param, return the v2 attribute (possibly a dotted path).- Specified by:
getParamSubstitute
in interfaceCollectionApiMapping.CommandMeta
-
-