public enum IndexType extends Enum<IndexType>
Serialized using specific adapters for each version of ES.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-index.html
| Enum Constant and Description |
|---|
ANALYZED
Deprecated.
ES2 only.
|
FALSE |
NO
Deprecated.
ES2 only.
|
NOT_ANALYZED
Deprecated.
ES2 only.
|
TRUE |
| Modifier and Type | Method and Description |
|---|---|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final IndexType NOT_ANALYZED
@Deprecated public static final IndexType ANALYZED
@Deprecated public static final IndexType NO
public static final IndexType TRUE
public static final IndexType FALSE
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 nullCopyright © 2006–2017 Hibernate. All rights reserved.