Class MigrateReindexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.indices.MigrateReindexRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class MigrateReindexRequest
extends RequestBase
implements JsonpSerializable
Reindex legacy backing indices.
Reindex all legacy backing indices for a data stream. This operation occurs in a persistent task. The persistent task ID is returned immediately and the reindexing work is completed in that task.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MigrateReindexRequest>
static final Endpoint<MigrateReindexRequest,
MigrateReindexResponse, ErrorResponse> Endpoint "indices.migrate_reindex
". -
Method Summary
Modifier and TypeMethodDescriptionprotected static JsonpDeserializer<MigrateReindexRequest>
static MigrateReindexRequest
final MigrateReindex
reindex()
Required - Request body.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
Endpoint "indices.migrate_reindex
".
-
-
Method Details
-
of
public static MigrateReindexRequest of(Function<MigrateReindexRequest.Builder, ObjectBuilder<MigrateReindexRequest>> fn) -
reindex
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createMigrateReindexRequestDeserializer
-