Class GetReindexResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.GetReindexResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetReindexResponse>Json deserializer forGetReindexResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Whether the reindex task has been cancelled.final booleanRequired - Whether the reindex task has completed.final StringA sanitized description of the reindex operation (source and destination indices, and optionally remote host info).final ErrorCauseerror()The error that caused the reindex task to fail, if any.final Stringid()Required - The ID of the reindex task.static GetReindexResponsefinal ReindexTaskResultresponse()The final result of the completed reindex operation, if the task has finished successfully.final TimeThe elapsed running time of the reindex task, in a human-readable format.final longRequired - The elapsed running time of the reindex task, in nanoseconds.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe time at which the reindex task started, as an ISO 8601 formatted string.final longRequired - The time at which the reindex task started, in milliseconds since the Unix epoch.final ReindexStatusstatus()The current progress of the reindex operation.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetReindexResponse
-
-
Method Details
-
of
public static GetReindexResponse of(Function<GetReindexResponse.Builder, ObjectBuilder<GetReindexResponse>> fn) -
completed
public final boolean completed()Required - Whether the reindex task has completed.API name:
completed -
id
Required - The ID of the reindex task. The value is the ID assigned when the task was first created and remains stable across node-shutdown relocations.API name:
id -
description
A sanitized description of the reindex operation (source and destination indices, and optionally remote host info).API name:
description -
startTimeInMillis
public final long startTimeInMillis()Required - The time at which the reindex task started, in milliseconds since the Unix epoch.API name:
start_time_in_millis -
startTime
The time at which the reindex task started, as an ISO 8601 formatted string. Only present when the request includes the?human=truequery parameter.API name:
start_time -
runningTime
The elapsed running time of the reindex task, in a human-readable format. Only present when the request includes the?human=truequery parameter.API name:
running_time -
runningTimeInNanos
public final long runningTimeInNanos()Required - The elapsed running time of the reindex task, in nanoseconds.API name:
running_time_in_nanos -
cancelled
public final boolean cancelled()Required - Whether the reindex task has been cancelled.API name:
cancelled -
status
The current progress of the reindex operation.API name:
status -
error
The error that caused the reindex task to fail, if any.API name:
error -
response
The final result of the completed reindex operation, if the task has finished successfully.API name:
response -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetReindexResponseDeserializer
protected static void setupGetReindexResponseDeserializer(ObjectDeserializer<GetReindexResponse.Builder> op)
-