public static enum ShardSelection.Method extends java.lang.Enum<ShardSelection.Method>
Enum Constant and Description |
---|
MODULO_HOST_MD5 |
ROUND_ROBIN |
SOLRCLOUD |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description |
Modifier and Type | Method and Description |
---|---|
static ShardSelection.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShardSelection.Method[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShardSelection.Method MODULO_HOST_MD5
public static final ShardSelection.Method ROUND_ROBIN
public static final ShardSelection.Method SOLRCLOUD
public static ShardSelection.Method[] values()
for (ShardSelection.Method c : ShardSelection.Method.values()) System.out.println(c);
public static ShardSelection.Method valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null