Class IndexState
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexState
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexState extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexState.Builder
Builder forIndexState
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexState>
_DESERIALIZER
Json deserializer forIndexState
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Alias>
aliases()
API name:aliases
java.lang.String
dataStream()
API name:data_stream
IndexSettings
defaults()
Default settings, included when the request'sinclude_default
istrue
.TypeMapping
mappings()
API name:mappings
static IndexState
of(java.util.function.Function<IndexState.Builder,ObjectBuilder<IndexState>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
IndexSettings
settings()
API name:settings
protected static void
setupIndexStateDeserializer(ObjectDeserializer<IndexState.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexState
-
-
Method Details
-
of
public static IndexState of(java.util.function.Function<IndexState.Builder,ObjectBuilder<IndexState>> fn) -
aliases
API name:aliases
-
mappings
API name:mappings
-
settings
API name:settings
-
defaults
Default settings, included when the request'sinclude_default
istrue
.API name:
defaults
-
dataStream
@Nullable public final java.lang.String dataStream()API name:data_stream
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIndexStateDeserializer
-