org.apache.solr.common.params
public static enum CollectionParams.CollectionAction extends Enum<CollectionParams.CollectionAction>
Enum Constant and Description |
---|
CREATE |
CREATEALIAS |
CREATESHARD |
DELETE |
DELETEALIAS |
DELETEREPLICA |
DELETESHARD |
RELOAD |
SPLITSHARD |
SYNCSHARD |
Modifier and Type | Method and Description |
---|---|
static CollectionParams.CollectionAction |
get(String p) |
static CollectionParams.CollectionAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionParams.CollectionAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionParams.CollectionAction CREATE
public static final CollectionParams.CollectionAction DELETE
public static final CollectionParams.CollectionAction RELOAD
public static final CollectionParams.CollectionAction SYNCSHARD
public static final CollectionParams.CollectionAction CREATEALIAS
public static final CollectionParams.CollectionAction DELETEALIAS
public static final CollectionParams.CollectionAction SPLITSHARD
public static final CollectionParams.CollectionAction DELETESHARD
public static final CollectionParams.CollectionAction CREATESHARD
public static final CollectionParams.CollectionAction DELETEREPLICA
public static CollectionParams.CollectionAction[] values()
for (CollectionParams.CollectionAction c : CollectionParams.CollectionAction.values()) System.out.println(c);
public static CollectionParams.CollectionAction 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 CollectionParams.CollectionAction get(String p)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.