public enum Metadata extends Enum<Metadata>
Enum Constant and Description |
---|
ID |
PARENT |
ROUTING |
TIMESTAMP
Deprecated.
Timestamp is not allowed on index or update requests in Elasticsearch 6.x
|
TTL
Deprecated.
TTL is not allowed on index or update requests in Elasticsearch 6.x
|
VERSION |
VERSION_TYPE |
Modifier and Type | Method and Description |
---|---|
static Metadata |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metadata ID
public static final Metadata PARENT
public static final Metadata ROUTING
@Deprecated public static final Metadata TTL
@Deprecated public static final Metadata TIMESTAMP
public static final Metadata VERSION
public static final Metadata VERSION_TYPE
public static Metadata[] values()
for (Metadata c : Metadata.values()) System.out.println(c);
public static Metadata 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 null