public static enum SuggestionOptions.With extends Enum<SuggestionOptions.With>
Enum Constant and Description |
---|
PAYLOAD |
PAYLOAD_AND_SCORES |
SCORES |
Modifier and Type | Method and Description |
---|---|
String[] |
getFlags() |
static SuggestionOptions.With |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestionOptions.With[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestionOptions.With PAYLOAD
public static final SuggestionOptions.With SCORES
public static final SuggestionOptions.With PAYLOAD_AND_SCORES
public static SuggestionOptions.With[] values()
for (SuggestionOptions.With c : SuggestionOptions.With.values()) System.out.println(c);
public static SuggestionOptions.With 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[] getFlags()
Copyright © 2020 RedisLabs. All rights reserved.