public static enum Suggester.Hint extends Enum<Suggester.Hint>
| Enum Constant and Description |
|---|
COLL |
COLL_SHARD |
MINFREEDISK |
NUMBER |
PARAMS |
REPLICA |
REPLICATYPE |
SRC_NODE |
TARGET_NODE |
| Modifier and Type | Field and Description |
|---|---|
boolean |
multiValued |
Consumer<Object> |
validator |
Predicate<Pair<Object,Object>> |
valueValidator |
| Modifier and Type | Method and Description |
|---|---|
static Suggester.Hint |
get(String s) |
Object |
parse(Object v) |
static Suggester.Hint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Suggester.Hint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Suggester.Hint COLL
public static final Suggester.Hint COLL_SHARD
public static final Suggester.Hint SRC_NODE
public static final Suggester.Hint TARGET_NODE
public static final Suggester.Hint REPLICATYPE
public static final Suggester.Hint MINFREEDISK
public static final Suggester.Hint NUMBER
public static final Suggester.Hint PARAMS
public static final Suggester.Hint REPLICA
public static Suggester.Hint[] values()
for (Suggester.Hint c : Suggester.Hint.values()) System.out.println(c);
public static Suggester.Hint 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 Suggester.Hint get(String s)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.