public enum IndexMode extends Enum<IndexMode>
Enum Constant and Description |
---|
FULLTEXT |
FULLTEXT_KEY |
KEY |
OFF |
Modifier and Type | Field and Description |
---|---|
private static String |
INDEX_MODES_NAMESPACE |
Modifier and Type | Method and Description |
---|---|
static List<IndexMode> |
fromTopics(List<? extends RelatedTopicModel> topics) |
static IndexMode |
fromUri(String uri) |
String |
toUri() |
static IndexMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexMode FULLTEXT_KEY
private static final String INDEX_MODES_NAMESPACE
public static IndexMode[] values()
for (IndexMode c : IndexMode.values()) System.out.println(c);
public static IndexMode 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 List<IndexMode> fromTopics(List<? extends RelatedTopicModel> topics)
Copyright © 2018. All Rights Reserved.